XE $module_info 변수 추출 결과 프로그래밍/XE(XpressEngine) 2010. 12. 22. 10:18
제목:

XE $module_info 변수 추출 결과

레이아웃에서 아래와 같이 해서 뽑아온 변수 정보

{print_r($module_info)}


대충 각 모듈별로 레이아웃을 구성할 때는 아래의 module 정보를 빼내오는 것이 가장 현명한 방법일 듯 함. 


또한 아래에 쓰여지는 각 변수들은 Admin 모듈 skin 페이지에서 html만 수정해 변수를 넣더라도 입력, 수정, 리스팅이 모두 가능함. 


//메인페이지 - 모듈은 일반 페이지
stdClass Object
(
    [module_site_srl] => 0
    [module_srl] => 78
    [module] => page
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 0
    [mid] => mainPage
    [skin] => 
    [browser_title] => Neo Nemesys.co.kr
    [description] => 
    [is_default] => N
    [content] => 페이지 편집에서 삽입한
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091204171412
    [site_srl] => 0
    [domain] => http://nemesys.co.kr/
    [index_module_srl] => 78
    [default_language] => ko
    [page_caching_interval] => 1
    [module_type] => view
)

//게시판 리스트 페이지
stdClass Object
(
    [module_srl] => 447
    [module] => board
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => free
    [skin] => nemesys.co.kr
    [browser_title] => 자유게시판
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091207031518
    [admin_mail] => 
    [consultation] => N
    [except_notice] => Y
    [list_count] => 20
    [order_target] => list_order
    [order_type] => asc
    [page_count] => 10
    [search_list_count] => 20
    [use_anonymous] => N
    [use_category] => Y
    [module_type] => view
    [colorset] => white
    [comment] => 현재로는 이 게시판이 본 사이트에서 회원가입없이 글작성 가능한 유일한 게시판입니다.
    [default_style] => list
    [display_ip_address] => Y
    [display_setup_button] => Y
    [display_sign] => Y
    [sub_title] => 자유롭게 글을 작성할 수 있는 게시판입져~
    [thumbnail_type] => crop
    [title] => 자유게시판
    [duration_new] => 12
    [content_cut_size] => 240
    [thumbnail_width] => 100
    [thumbnail_height] => 100
)


//게시판 뷰 페이지
stdClass Object
(
    [module_srl] => 447
    [module] => board
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => free
    [skin] => nemesys.co.kr
    [browser_title] => 자유게시판
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091207031518
    [admin_mail] => 
    [consultation] => N
    [except_notice] => Y
    [list_count] => 20
    [order_target] => list_order
    [order_type] => asc
    [page_count] => 10
    [search_list_count] => 20
    [use_anonymous] => N
    [use_category] => Y
    [module_type] => view
    [colorset] => white
    [comment] => 현재로는 이 게시판이 본 사이트에서 회원가입없이 글작성 가능한 유일한 게시판입니다.
    [default_style] => list
    [display_ip_address] => Y
    [display_setup_button] => Y
    [display_sign] => Y
    [sub_title] => 자유롭게 글을 작성할 수 있는 게시판입져~
    [thumbnail_type] => crop
    [title] => 자유게시판
    [duration_new] => 12
    [content_cut_size] => 240
    [thumbnail_width] => 100
    [thumbnail_height] => 100
)


//게시판 검색 페이지
URL : http://nemesys.co.kr/?vid=&mid=jquery&category=&search_keyword=jquery&search_target=title

stdClass Object
(
    [module_srl] => 291
    [module] => board
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => jquery
    [skin] => nemesys.co.kr
    [browser_title] => jquery
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091206073547
    [consultation] => N
    [except_notice] => Y
    [list_count] => 20
    [order_target] => list_order
    [order_type] => asc
    [page_count] => 10
    [search_list_count] => 20
    [use_anonymous] => N
    [use_category] => Y
    [module_type] => view
    [colorset] => white
    [comment] => jquery에 관련된 내용을 담고 있는 게시판입니다.
    [default_style] => webzine
    [display_ip_address] => Y
    [display_setup_button] => Y
    [display_sign] => Y
    [sub_title] => About jQuery
    [thumbnail_height] => 150
    [thumbnail_type] => ratio
    [thumbnail_width] => 150
    [title] => jQuery
    [duration_new] => 12
    [content_cut_size] => 240
)



//외부페이지
stdClass Object
(
    [module_srl] => 147
    [module] => opage
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => clip
    [skin] => 
    [browser_title] => Nes's Mobile Clipz
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091206025116
    [caching_interval] => 30
    [path] => http://blog.nemesys.co.kr/clip/
)


//LiveXe
URL : http://nemesys.co.kr/livexe
stdClass Object
(
    [module_srl] => 172
    [module] => livexe
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => livexe
    [skin] => xe_default
    [browser_title] => Nes's RSS 모음
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091206040118
    [list_count] => 20
    [page_count] => 30
    [popular_tag_period] => 30
    [module_type] => view
)


//통합 검색 페이지
stdClass Object
(
    [colorset] => white
)


//스프링노트

stdClass Object
(
    [module_srl] => 122
    [module] => springnote
    [module_category_srl] => 0
    [layout_srl] => 55
    [menu_srl] => 57
    [site_srl] => 0
    [mid] => springnote
    [skin] => xe_official
    [browser_title] => Nes SpringNote
    [description] => 
    [is_default] => N
    [content] => 
    [open_rss] => Y
    [header_text] => 
    [footer_text] => 
    [regdate] => 20091204210055
    [openid] => 
    [pageid_option] => list
    [userkey] => 
    [use_category] => N
    [module_type] => view
    [colorset] => white
    [title] => Nemesys - 스프링노트
)


Posted by 뮤직라이프

,