HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Changing the header menu?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#69634 (In Topic #14758)
Avatar

Fan in training

Hi guys. So, I want to only have one menu on my website, and that's the top one. I'm going to change the sidebars according to my needs, but I also need to change the header menu by removing the useless stuff that's in it and adding the stuff I need. I also need to know how to put whichever category/page I want there and order them how I want.

Thanks in advance.
Back to the top
 
Posted
Rating:
#69638
Avatar

Community saint

Hi edinchez! Which header menu are you referring to, the default zone menu? If so, there is a config option to use an alternate zone menu:
Config –> Theme Options –> Replace the zone menu

You can then click on the little icon that appears on the upper right of your screen; looks like a little M.

Another option is to remove the zone menu altogether by editing HEADER.tpl and comment out the following:

Code

<!--         {+START,IF,{$CONFIG_OPTION,use_custom_zone_menu}}
            {$BLOCK,block=side_stored_menu,param=zone_menu,type=zone}
         {+END}
         {+START,IF,{$NOT,{$CONFIG_OPTION,use_custom_zone_menu}}}
            {$BLOCK,block=side_stored_menu,param=_zone_menu,type=zone}
         {+END}  -->
You can then put a menu into panel_top. If you choose the second option, you'll also need to put in redirects for your zones to point to panel_top of the zone in which you've placed the menu.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#69671
Avatar

Fan in training

god, this is the best community ever, you guys are so helpful! thanks, i'll try this when i get back home.
Back to the top
 
Posted
Rating:
#69673
Avatar

Community saint

Happy to help edinchez! One further item if you opt for option #2. The example I've provided will only remove the menu itself and not the surrounding div tags. Shouldn't be any major appearance repercussions in commenting out the div's as well, however, it would also be just as easy to modify your CSS to remove the background image and colour to make the div appear invisible.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: