묻고답하기
xe official v3 gallery 게시판 목록에서 등록일 안보이게
2017.06.17 00:53
xe official v3 gallery 게시판 사용해서 홈페이지를 만들고 있습니다.
게시판 설정에서 목록 표시 항목을 번호와 제목만 남기고 다 삭제했는데 리스트 항목에서는
섬네일과 제목과 등록일이 나오네요.. 여기서 등록일 안나오고 섬네일과 제목만 나오게 하려면 어떻게 해야 하나요?
아시는분 답변 부탁드립니다.
댓글 5
-
sejin7940
2017.06.17 01:58
-
sugao
2017.06.17 03:54
말씀하신 대로 했더니 이렇게 뜹니다
Error Parsing Template - syntax error, unexpected '&' in template file modules/board/skins/xe_v3_gallery_haan/_list.html
그래서 다시 세진님이 작성하신 <li class="date">{$doc->getRegdate('Y.m.d')}</li>이걸로 지운 자리에 붙여넣기 했더니 이번에는
Parse error: syntax error, unexpected '&' in /home/smp4013/html/files/cache/template_compiled/03abe7f9fb26bed62855805e9a528cd3.compiled.php on line 3 이렇게 뜨네요.. -
sejin7940
2017.06.17 04:33
위의 문구 제거한다고 사실 에러가 발생할건 전혀 없는데
다시 붙여넣기한 후 뜨는 에러는, 관리자페이지에서 하단의 '캐시파일재생성'을 눌러보세요
-
sugao
2017.06.17 11:16
에구구... 해결된 줄 알았는데.. 복병이 숨어있네요..ㅠㅠ
첫 목록 화면에서는 제대로 나오는데 하단에 프리뷰나 넥스트 메뉴 눌러서 이동하면
이렇게 깨져서 나오네요..어디를 어떻게 수정해야 할까요?
혹시 몰라서 _list.html 내용 올립니다.
{@
$mi = $module_info;
if (!$mi->thumbnail_width) $mi->thumbnail_width = 130;
if (!$mi->thumbnail_height) $mi->thumbnail_height = 100;
if (!$mi->content_cut_size) $mi->content_cut_size = 200;$list_idx = 1;
}
<load target="js/jquery.easing.1.3.js" />
<load target="js/list.xe.js" /><div class="list">
<form action="./" method="get" class="list-body">
<fieldset>
<legend>List of Articles</legend>
<div class="container hide">
<ul>
<li class="fbox article">
<a href="#" class="title"><span class="iefix"></span></a>
<span class="thumb">
<img src="./img/noimage.gif" width="{$mi->thumbnail_width}" height="{$mi->thumbnail_height}" alt="" /></a>
</span>
<ul class="flat meta">
<li class="reply"></li>
<li class="author"><a href="#popup_menu_area" class="member_0" onclick="return false"></a></li>
<li class="date"></li>
<li class="summary"></li>
</ul>
</li>
</ul>
</div>
<div class="container">
<ul>
<li class="fbox article {($list_idx++%2)?'odd':'even'}" loop="$document_list=>$doc" >
{@
$post_link = getUrl('document_srl',$doc->document_srl);
$perm_link = $doc->getPermanentUrl();
$comment_count = $doc->getCommentCount();
$has_thumbnail = $doc->thumbnailExists($mi->thumbnail_width, $mi->thumbnail_height, $mi->thumbnail_type);
}
<span class="thumb">
<a href="{$post_link}" class="title">
<!--@if($has_thumbnail)-->
<img src="{$doc->getThumbnail($mi->thumbnail_width, $mi->thumbnail_height, $mi->thumbnail_type)}" width="{$mi->thumbnail_width}" height="{$mi->thumbnail_height}" alt="" />
<!--@else-->
<img src="./img/noimage.gif" width="{$mi->thumbnail_width}" height="{$mi->thumbnail_height}" alt="" />
<!--@end-->
</a>
</span>
<ul class="flat meta" style="width:{$mi->thumbnail_width}px;">
<li class="title"> <a href="{$post_link}">{$doc->getTitle($mi->subject_cut_size)} <!--{$doc->printExtraImages(60*60*$module_info->duration_new)}--><span class="iefix"></span></a></li>
<!--<li class="reply">{$comment_count}</li>-->
<li class="author"><a href="#popup_menu_area" class="member_{$doc->get('member_srl')}" onclick="return false">{$doc->getNickName()}</a></li>
<li class="summary">{$doc->getSummary($mi->content_cut_size)}</li>
</ul>
</li>
</ul>
</div>
</fieldset>
</form><div class="fbox list-foot">
<form action="./" method="get" class="pagination">
<fieldset>
<legend>Board Pagination</legend>
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="category" value="{$category}" />
<input type="hidden" name="search_keyword" value="{htmlspecialchars($search_keyword)}" />
<input type="hidden" name="search_target" value="{$search_target}" />
{@ $prev_page = max($page-1, 1)}
{@ $next_page = min($page+1, $page_navigation->last_page)}
<ul>
<li class="first"><a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="active"|cond="$page!=1"><span>{$lang->first_page}</span></a></li>
<li class="prev"><a href="{getUrl('page',$prev_page,'document_srl','','division',$division,'last_division',$last_division)}" class="active"|cond="$prev_page<$page"><span>PREV {$mi->list_count}</span></a></li>
<li class="pages"><span><input type="text" name="page" value="{$page}" /> of <em>{$total_page}</em></span></li>
<li class="next"><a href="{getUrl('page',$next_page,'document_srl','','division',$division,'last_division',$last_division)}" class="active"|cond="$next_page>$page"><span>NEXT {$mi->list_count}</span></a></li>
<li class="last"><a href="{getUrl('page',$total_page,'document_srl','','division',$division,'last_division',$last_division)}" class="active"|cond="$total_page>$page"><span>{$lang->last_page}</span></a></li>
</ul>
</fieldset>
</form>
</div>
<div class="list_footer">
<div class="btnArea">
<span class="btn"><a href="{getUrl('act','dispBoardWrite','document_srl','')}">{$lang->cmd_write}...</a></span>
</div>
<button type="button" class="bsToggle" title="{$lang->cmd_search}">{$lang->cmd_search}</button>
<form cond="$grant->view" action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="board_search" class="board_search" no-error-return-url="true">
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="category" value="{$category}" />
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" title="{$lang->cmd_search}" class="iText" />
<select name="search_target">
<option loop="$search_option=>$key,$val" value="{$key}" selected="selected"|cond="$search_target==$key">{$val}</option>
</select>
<span class="btn"><button type="submit">{$lang->cmd_search}</button></span>
<span class="btn" cond="$last_division"><a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}">{$lang->cmd_search_next}</a></span>
</form>
<a href="{getUrl('act','dispBoardTagList')}" class="tagSearch" title="{$lang->tag}">{$lang->tag}</a>
</div>
</div><script type="text/javascript">
if (typeof window.xe_v3 == 'undefined') window.xe_v3 = {};
jQuery.extend(xe_v3, {
page : '{$page}',
list_count : '{$mi->list_count}',
last_page : '{$total_page}',
content_cut_size : '{$mi->content_cut_size}',
thumbnail_width : '{$mi->thumbnail_width}',
thumbnail_height : '{$mi->thumbnail_height}',
thumbnail_type : '{$mi->thumbnail_type}',
search_keyword : '{addslashes($search_keyword)}',
search_target : '{$search_target}'
});
</script>
-
sugao
2017.06.17 05:35
게시판 지우고 새로 깐 후에 지웠더니 문제 없이 해결 되었네요....^^
너무 감사합니다.
_list.html 에서
56번째줄의 <li class="date">{$doc->getRegdate('Y.m.d')}</li> 부분 제거