Q&A

댓글 6

  • <!--@if(!$act && $document_srl && $oDocument)-->
    <style> . . . </style>
    <!--@end-->
    이럼 될거에요
  • @라라펠
    레이아웃에서 lnb영역에서 설정해야하는건가요?
  • @mospia
    레이아웃 푸터쪽에 대충 우겨넣으면 될겁니다 아마도여
  • <!--@if(!$act && $document_srl)-->
    기존사용
    <!--@elseif(!$act && $document_srl && $oDocument)-->
    변경내용
    <!--@end-->
    로하며는 목록이 보이는곳에선 기존처럼 나오게되는건가요?
  • 저는 1단 레이아웃(LNB없앤)을 별도로 업로드해서 게시판에 레이아웃을 1단으로 지정합니다.
  • <!-- BODY -->
    <div class="body {$_body_class}">
    <!-- LNB -->
    <!--@if(!$act && $document_srl && $oDocument)-->

    <!-- /LNB -->
    <!-- CONTENT -->
    <div class="content" id="content" style="width:1050px">
    {$content}
    </div>
    <!--@if($layout_info->use_demo === 'Y')-->
    <include target="./demo/welcome_main.html" />
    <!--@endif-->
    <!-- /CONTENT -->
    </div>
    <!--@elseif(!$act)-->
    <nav cond="$_selected_menu['list'] || $layout_info->layout_type === 'sub' && $layout_info->sidebar_position !== 'none'" class="lnb">
    <ul>
    <li loop="$_selected_menu['list'] => $key1, $val1">
    <a href="{$val1['href']}" target="_blank"|cond="$val1['open_window'] == 'Y'">{$val1['link']}</a>
    <ul cond="$val1['list']">
    <li loop="$val1['list'] => $key2, $val2" class="on"|cond="$val2['selected']">
    <a href="{$val2['href']}" target="_blank"|cond="$val2['open_window'] == 'Y'">{$val2['link']}</a>
    </li>
    </ul>
    </li>
    <li>
    123
    </li>
    </ul>
    </nav>
    <!-- /LNB -->
    <!-- CONTENT -->
    <div class="content" id="content">
    {$content}
    </div>
    <!--@if($layout_info->use_demo === 'Y')-->
    <include target="./demo/welcome_main.html" />
    <!--@endif-->
    <!-- /CONTENT -->
    </div>
    <!--@end-->
    <!-- END:BODY -->

    처럼 변경하여서 원하는기능을 만들긴했는데 괜찮겟죠?