https://www.icyphoenix.com/viewtopic.php?f=35&t=1556 ----------------------------------- omarska Sat 07 Apr, 2007 13:43 Show / Hide Menu (and Related) ----------------------------------- Hi all. Is there possibility to add show/hide function to new dynamic menu in 1.0.11.11. Old nav links had that ability, but only in forum index. Can you tell me how to add show/hide button to dynamic menu block? Also, how did you manage to add show/hide button only on forum page menu, while on portal page menu that button was disabled (old 1.0.9.9)? Reason 4 asking this is now when i add new dyn menu to the forum, it can't be hidden and forum index loses it's form. Another question, think it's connected to previous one: how to remove this header nav part (but only from main page, other pages should still keep this): [img]http://www.icyphoenix.com/files/images/1353/header.jpg[/img] Or at least make it shrink to right, while menu moves up (like on forum page): [img]http://www.icyphoenix.com/files/images/1353/header_forum.jpg[/img] Thanx for all your work, guys, Icy is really powerfull system. :thanks: ----------------------------------- pepi Sat 07 Apr, 2007 16:21 Re: Show / Hide Menu (and Related) ----------------------------------- [quote user="omarska" post="11496"] Another question, think it's connected to previous one: how to remove this header nav part (but only from main page, other pages should still keep this): [img]http://www.icyphoenix.com/files/images/1353/header.jpg[/img] [/quote] in template/mg_themes/layout/2_column.tpl delete this [code linenumbers=true]

{L_HOME}{NAV_SEP}{L_NEWS_LINKS}-{L_CATEGORIES}

{L_HOME}{NAV_SEP}{L_NEWS_LINKS}-{L_ARCHIVES}

{L_HOME}
{PRIVATE_MESSAGE_INFO}
{CURRENT_TIME} | {S_TIMEZONE}
{L_RECENT} | {L_SEARCH_NEW}
{L_SEARCH_SELF} | {L_SEARCH_UNANSWERED} {L_RECENT} | {L_SEARCH_UNANSWERED}
[/code] [quote user="omarska" post="11496"]Hi all. Is there possibility to add show/hide function to new dynamic menu in 1.0.11.11. Old nav links had that ability, but only in forum index. Can you tell me how to add show/hide button to dynamic menu block? [/quote] OPEN [b]mg_themes/blocks/dyn_menu_block.tpl[/b] FIND [codeblock]{IMG_THL}{IMG_THC}{L_QUICK_LINKS}{IMG_THR} [/codeblock] REPLACE WITH [codeblock]{IMG_THL}{IMG_THC}{L_QUICK_LINKS}  [{L_HIDE}] {IMG_THR}
[/codeblock] Pepi