diff --git a/common/js/tree_menu.js b/common/js/tree_menu.js index 19ea90b9f..fc49271c6 100644 --- a/common/js/tree_menu.js +++ b/common/js/tree_menu.js @@ -85,9 +85,6 @@ function loadTreeMenu(url, menu_id, zone_id, title, callback_func, manual_select // 트리메뉴 XML정보를 이용해서 정해진 zone에 출력 var manual_select_node_srl = ''; function drawTreeMenu(oXml, callback_func, resopnse_tags, null_func, param) { - var xmlDoc = oXml.getResponseXml(); - if(!xmlDoc) return null; - // 그리기 위한 object를 찾아 놓음 var menu_id = param.menu_id; var zone_id = param.zone_id; @@ -98,6 +95,12 @@ function drawTreeMenu(oXml, callback_func, resopnse_tags, null_func, param) { if(title) html = '
'+title+'
'; + var xmlDoc = oXml.getResponseXml(); + if(!xmlDoc) { + xInnerHtml(zone, html); + return null; + } + tree_menu_folder_list[menu_id] = new Array(); // node 태그에 해당하는 값들을 가져와서 html을 작성 diff --git a/layouts/sample_blog/conf/info.xml b/layouts/sample_blog/conf/info.xml index dafba288b..417af97a8 100644 --- a/layouts/sample_blog/conf/info.xml +++ b/layouts/sample_blog/conf/info.xml @@ -1,11 +1,11 @@ - 견본 레이아웃 + 블로그 견본 레이아웃 제로 - 견본 레이아웃입니다. - 가장 기본적인 기능으로 이루어져 있습니다. + 블로그 형식의 가장 기본적인 기능으로 이루어진 레이아웃입니다. + blog_menu(블로그 메뉴)는 블로그 모듈을 연결하면 바로 등록이 되고, 상단 메뉴는 방명록이나 기타 게시판등을 연결하시면 됩니다. @@ -34,12 +34,12 @@ - - 주 메뉴 + + 블로그 메뉴 2 - - 하단 메뉴 + + 상단 메뉴 1 diff --git a/layouts/sample_blog/layout.html b/layouts/sample_blog/layout.html index d03e19cd9..f1b17c9f3 100644 --- a/layouts/sample_blog/layout.html +++ b/layouts/sample_blog/layout.html @@ -1,25 +1,39 @@ - - - - + + + + + + +
- - - -
+ + + + + {@ $class_name = 'first_menu_selected'} + + {@ $class_name = 'first_menu'} + + + + {$val['text']} + + + + + +
@@ -27,12 +41,8 @@ - -
- -
+ + @@ -45,14 +55,5 @@
{$content}
- - -
-
- -
-
-
+