묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
3-4일정도 헤메다가 결국 xe분들에게 물어봅니다ㅠㅠ
2012.10.14 02:36
XE 모바일에서, 본문 하단 목록(리스트)을 출력하려고 소스를 짯는데~
안되네요..
XE구조 아시는분들 ~ 좀 알려주세요 ㅠㅠ
댓글 3
-
퍼니엑스이
2012.10.14 10:52
-
퍼니엑스이
2012.10.14 14:28
[XE설치경로]/modules/beluxe/skins/default/mobile/index.html 파일을 아래 코드로 바꿔보세요^^
<include target="___setting.html" /> <div class="bd" id="read"|cond="$is_doc"> <include cond="$is_doc" target="_read.html" /> <block cond="$is_doc"> {@ $list_style!='list'?$list_style='webzine':0; $oTemplate = &TemplateHandler::getInstance(); print $oTemplate->compile($tpl_path, '_lst.'.$list_style.'.html'); } </block> <block cond="!$is_doc"> <div class="hx h2"> <h2><a href="{$oEntry->getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a> <em>[{number_format($total_count)}]</em></h2> <a cond="count($category_list)" href="{$oEntry->getUrl('page','','act','dispBeluxeMobileCategory','')}" class="ca"> {$category_srl&&$category_list[$category_srl]->title?$category_list[$category_srl]->title:$module_info->category_default_title} </a> <a cond="$grant->write_document" href="{$oEntry->getUrl('act','dispBoardWrite','document_srl','')}" class="write">{$lang->cmd_write}</a> </div> <div cond="$module_info->title||$module_info->sub_title||$module_info->board_desc" class="hx pn"> <block cond="$module_info->title||$module_info->sub_title">{$module_info->title} | {$module_info->sub_title}</block> <div cond="$module_info->board_desc" class="dc">{$module_info->board_desc}</div> </div> {@ $list_style!='list'?$list_style='webzine':0; $oTemplate = &TemplateHandler::getInstance(); print $oTemplate->compile($tpl_path, '_lst.'.$list_style.'.html'); } <div cond="$page_navigation" class="pn"> <a cond="$page != 1" href="{$oEntry->getUrl('document_srl','','comment_srl','','page',$page-1,'division',$division,'last_division',$last_division)}" class="prev">{$lang->cmd_prev}</a> <strong>{$page} / {$page_navigation->last_page}</strong> <a cond="$page != $page_navigation->last_page" href="{$oEntry->getUrl('document_srl','','comment_srl','','page',$page+1,'division',$division,'last_division',$last_division)}" class="next">{$lang->cmd_next}</a> <a href="#beluxe" class="lic fr">Board DX</a> </div> <div class="sh"> <form action="{$oEntry->getUrl()}" method="get"> <input type="hidden" name="vid" value="{$vid}" /> <input type="hidden" name="mid" value="{$mid}" /> <input type="hidden" name="category" value="{$category}" /> <select name="search_target"> <option loop="$list_config=>$key,$val" cond="$val->search=='Y'" value="{$key}" selected="selected"|cond="$key==$search_target">{$val->name}</option> <option cond="$search_target&&$list_config[$search_target]->search!='Y'" value="{$search_target}" selected="selected">{Context::getLang($search_target)}</option> </select> <input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" accesskey="S" title="{$lang->cmd_search}" /> <button type="submit" class="shbn" title="{$lang->cmd_search}">Search</button> </form> </div> </block> </div>
-
designslam
2014.11.21 15:52
현재 flatBoard 스킨 쓰고있는데요,
list.html은 수정했는데, index.html 자체가 없는데..어떡하죠..?ㅠ
어떤 스킨을 쓰시는지 언급하지 않으셔서 기본 모바일 스킨을 기준으로 설명드리겠습니다.
[XE설치경로]/modules/board/m.skins/default/list.html 파일을 아래와 같이 수정하시면 됩니다.
회색줄로 강조된 부분이 추가된 부분입니다^^