https://www.icyphoenix.com/viewtopic.php?f=35&t=6063 ----------------------------------- AndyGpy Mon 06 Jul, 2009 21:33 RC2 Help Please - Dynamic Header Menus ----------------------------------- Hi Guys, Can someone help here, i want to have the menu at the top of the page just below the banner to change depending on what page ( or section ) of the site i am on. EG while in forum it may read:- Home * Section A * section B * etc and in knowledge base read something like Home * Places to visit * Things to see * etc I am using RC2, can anyone help me ? ----------------------------------- Lopalong Tue 07 Jul, 2009 15:57 Re: RC2 Help Please - Dynamic Header Menus ----------------------------------- You would need to make as many copies of this for the locations that you want to use them in, and change all the links and names for each "Location". [code linenumbers=false] {L_HOME}    {L_INDEX}    {L_NEW2}    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    {L_PROFILE}    {L_SEARCH}    {L_SEARCH}    {L_FAQ}    {L_REGISTER}    {L_LOGIN_LOGOUT2}[/code] Paste all of the "New" NAV links menus to the overall_header.tpl (One after the other, and before the default) and then give them all a [b].php "location"[/b] plus [b]if and else if arguments[/b] to use specific Nav-Links Menus for various locations, and default back to the original for all other non-specific locations. Actually it's quite easy once you know exactly what anchors you want, and create the Nav menus for the links go with each location first. So, if you want five menus, you will need five .php arguments to separate them. Best of luck! ----------------------------------- AndyGpy Tue 07 Jul, 2009 22:35 Re: RC2 Help Please - Dynamic Header Menus ----------------------------------- Just seen the jet flying past at 3000 miles per hour, soz lopalong you lost me. Can you perhaps give a demo of a navlink , .php file and how they relate to each other ? remember i am not a PHP wizz kid like you lol regards ----------------------------------- Lopalong Tue 07 Jul, 2009 23:52 Re: RC2 Help Please - Dynamic Header Menus ----------------------------------- http://icyphoenix.com/viewtopic.php?p=37770#p37770