Rhymix(XpressEngine) Tips

본 토픽은 현재 준비중입니다. 홈페이지제작-CMS-XpressEngine에 참여하시면 완성 되었을 때 알려드립니다.

레이아웃 기본 메뉴

<nav class="gnb">
   <ul>
      <li loop="$main_menu->list => $key1, $val1" class="on"|cond="$val1['selected']">
         <a href="{$val1['href']}" target="_blank"|cond="$val1['open_window'] == 'Y'"><span>{$val1['link']}</span></a>
         <block cond="$val1['selected']">{@ $_selected_menu = $val1}</block>
         <ul cond="$val1['list']" class="depth2">
            <li loop="$val1['list'] => $key2, $val2" class="more"|cond="$val2['list']">
               <a href="{$val2['href']}" target="_blank"|cond="$val2['open_window'] == 'Y'"><span>{$val2['link']}</span></a>
               <ul cond="$val2['list']" class="depth3">
                  <li loop="$val2['list'] => $key3, $val3">
                     <a href="{$val3['href']}" target="_blank"|cond="$val3['open_window'] == 'Y'"><span>{$val3['link']}</span></a>
                  </li>
               </ul>
            </li>
         </ul>
      </li>
   </ul>
</nav>

댓글

댓글 본문
graphittie 자세히 보기