노란색으로 라인입힌 곳 보이죠? 그 부분을 잘라내기 해서 *********A********부분에 붙여넣기 하세요. 그리고 지금 잘라내기 했던 부분(노란색 라인)에는 <!--@else-->를 추가하세요. 그렇게하면 내용으로 들어갔을 때 목록이 보이지 않습니다. 아래는 완성된 소스입니다.
<!-- 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
<!--@if($oDocument->isExists())-->
<!--#include("./view_document.html")-->
<!--@else-->
<!-- 목록 출력 -->
<!--@if($module_info->default_style == 'webzine')-->
<!--#include("./style.webzine.html")-->
<!--@elseif($module_info->default_style == 'gallery')-->
<!--#include("./style.gallery.html")-->
<!--@elseif($module_info->default_style == 'forum')-->
<!--#include("./style.forum.html")-->
<!--@else-->
<!--#include("./style.list.html")-->
<!--@end-->
<!--@end-->
내용에 들어갔을 때 목록을 보이고 싶지 않은 것인가요?
list.html 문서를 열어보면 아래와 같은 부분이 있을 것입니다. 배경색을 입히기 위해 코드창을 사용하지 않았어요 ^^;;
<!-- 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
<!--@if($oDocument->isExists())-->
<!--#include("./view_document.html")-->
<!--@end-->
<!-- 목록 출력 -->
<!--@if($module_info->default_style == 'webzine')-->
<!--#include("./style.webzine.html")-->
<!--@elseif($module_info->default_style == 'gallery'+ ')-->
<!--#include("./style.gallery.html")-->
<!--@elseif($module_info->default_style == 'forum')-->
<!--#include("./style.forum.html")-->
<!--@else-->
<!--#include("./style.list.html")-->
<!--@end-->
*********A********
노란색으로 라인입힌 곳 보이죠? 그 부분을 잘라내기 해서 *********A********부분에 붙여넣기 하세요.
그리고 지금 잘라내기 했던 부분(노란색 라인)에는 <!--@else-->를 추가하세요.
그렇게하면 내용으로 들어갔을 때 목록이 보이지 않습니다.
아래는 완성된 소스입니다.
<!-- 선택된 게시물이 있고 권한이 있으면 내용 출력 --> <!--@if($oDocument->isExists())--> <!--#include("./view_document.html")--> <!--@else--> <!-- 목록 출력 --> <!--@if($module_info->default_style == 'webzine')--> <!--#include("./style.webzine.html")--> <!--@elseif($module_info->default_style == 'gallery')--> <!--#include("./style.gallery.html")--> <!--@elseif($module_info->default_style == 'forum')--> <!--#include("./style.forum.html")--> <!--@else--> <!--#include("./style.list.html")--> <!--@end--> <!--@end-->