문하우스 레이아웃 스킨 3.0 버젼입니다. 사용할때 맨 아래 사이트맵을 사용할수 있지요.
그 사이트맵을 하나의 페이지에 나오게 하려고 합니다. 즉 스킨에 포함되어서 나오는것이 아니라 사이트맵이라는 이름으로 페이지를 생성해서 사이트맵을 보여줄려고하는데요....
이것이 메뉴가 변하면 같이 변할수 있게 확장변수를 입력해서 만들고 싶거든요.
단순이 링크복사 , 붙여넣기가 아니라요.
스킨에 보면 아래의 코드가 있는데 ... 단순이 글쓰기를 해서 보니 원하는데로 보여지지가 않더군요.
<!--사이트맵-->
<!--@if($layout_info->sitemap == 'Y')-->
<div id="sitemap">
<div class="extension">
<div class="section logo">
<!--@if(!$layout_info->sitemap_image)-->SiteMap<!--@else-->
<img src="{$layout_info->sitemap_image}" alt="" />
<!--@end-->
</div>
<!--@foreach($main_menu->list as $key => $val)-->
<!--@if($val['link'])-->
<div class="section">
<h2><a href="{$val['href']}"<!--@if($val['open_window']=='Y')--> onclick="window.open(this.href);return false;"<!--@end-->>{$val['text']}</a></h2>
<!--@if($val['list'])-->
<ul>
<!--@foreach($val['list'] as $k => $v)-->
<!--@if($val['link'])-->
<li><a href="{$v['href']}"<!--@if($v['open_window']=='Y')--> onclick="window.open(this.href);return false;"<!--@end-->>{$v['text']}</a></li>
<!--@end-->
<!--@end-->
</ul>
<!--@end-->
</div>
<!--@end-->
<!--@end-->
</div>
</div>
<!--@end-->
결론.
방문자들을 위해 사이트맵을 만들고 싶습니다. 근데 이것이 메뉴를 변경하면 같이 적용이 되게 입력을 하고 싶은데...방법이 있는지요?
스킨이나 코드에 대해서는 잘 모릅니다.
참고로 스킨에서 보여지는 사이트맵에 대한 그림을 첨부합니다. 게시판아래 부분입니다.
사이트맵을 별도의 하나의 페이지에서 보여지게 하신다면
공식홈에 사이트맵 위젯이 있습니다.
그걸 사용하시는것이 더 좋을듯 싶습니다.
http://www.xpressengine.com/?mid=downloadWidget&search_keyword=%EC%82%AC%EC%9D%B4%ED%8A%B8%EB%A7%B5&search_target=title_content&document_srl=18260556