[건의] 탭형 위젯 출력 위젯 aka 부모위젯
2022.10.02 07:30
27
0
https://eond.com/447415
object(HotopayModel)#817 (23) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(0) { } ["httpStatusCode"]=> int(200) ["module"]=> string(7) "hotopay" ["module_info"]=> NULL ["origin_module_info"]=> NULL ["module_config"]=> NULL ["module_path"]=> string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/" ["xml_info"]=> NULL ["module_srl"]=> NULL ["mid"]=> NULL ["act"]=> NULL ["template_path"]=> NULL ["template_file"]=> NULL ["layout_path"]=> NULL ["layout_file"]=> NULL ["edited_layout_file"]=> NULL ["stop_proc"]=> bool(false) ["user"]=> object(Rhymix\Framework\Helpers\SessionHelper)#816 (20) { ["member_srl"]=> int(0) ["user_id"]=> NULL ["user_name"]=> NULL ["nick_name"]=> NULL ["email_address"]=> NULL ["phone_number"]=> NULL ["homepage"]=> NULL ["blog"]=> NULL ["birthday"]=> NULL ["denied"]=> NULL ["status"]=> NULL ["is_admin"]=> string(1) "N" ["is_site_admin"]=> NULL ["profile_image"]=> NULL ["image_name"]=> NULL ["image_mark"]=> NULL ["signature"]=> NULL ["description"]=> NULL ["group_list"]=> array(0) { } ["menu_list"]=> array(0) { } } ["request"]=> object(Rhymix\Framework\Request)#10 (13) { ["method"]=> string(3) "GET" ["compat_method"]=> string(3) "GET" ["url"]=> string(17) "xe/447415/page/43" ["hostname"]=> string(8) "eond.com" ["domain"]=> NULL ["protocol"]=> string(5) "https" ["callback_function"]=> string(0) "" ["_route_status":protected]=> int(200) ["_route_options":protected]=> object(stdClass)#11 (5) { ["cache_control"]=> bool(true) ["check_csrf"]=> bool(true) ["is_forwarded"]=> bool(false) ["is_indexable"]=> bool(true) ["enable_session"]=> bool(true) } ["module"]=> string(5) "board" ["mid"]=> string(2) "xe" ["act"]=> string(16) "dispBoardContent" ["args"]=> array(7) { ["listStyle"]=> string(4) "list" ["order_type"]=> string(4) "desc" ["sort_index"]=> string(13) "comment_count" ["document_srl"]=> string(6) "447415" ["page"]=> int(1) ["mid"]=> string(2) "xe" ["act"]=> string(16) "dispBoardContent" } } ["ajaxRequestMethod"]=> array(2) { [0]=> string(6) "XMLRPC" [1]=> string(4) "JSON" } ["gzhandler_enable"]=> bool(true) }

소개

탭(Tab) 스타일로 여러가지 형태의 위젯코드를 출력할 수 있는 위젯입니다.
부모위젯으로 자식위젯을 가질 수 있습니다.

아이디어 배경..

기본최신글위젯, 조회수정렬최신글위젯, 추천수정렬최신글위젯, 갤러리형최신글위젯
이렇게 다양한 스타일을 보여주는 탭형 위젯을 만들어야 하는데,
아시다시피 탭형 스타일이라 하더라도 여러 개의 게시판을 탭형으로 보여줄 수는 있지만,
그 각각의 탭 안의 내용은 모두 동일하잖아요?
그런데 저 예제의 경우 탭마다 1~4번은 기본최신글위젯, 5번은 조회수정렬최신글위젯, 6번은 추천수정렬최신글위젯과 같이
뽑아오는 조건이 다르게 됩니다. (__)a
이에 여러가지 위젯을 탭형으로 보여줄 수 있는 위젯을 다시 개발하게 되었습니다.
본 위젯 내부에 출력되는 자식위젯의 경우에는 관리자 > 위젯코드생성에서 별도로 만들어서 위젯페이지에서 코드를 삽입할 수 있습니다. (위젯페이지에서는 부모 위젯의 코드만 생성 관리합니다.)


라이믹스는 이온디와 함께

닫기

마이페이지

로그인을 해주세요

네이버로 로그인