how to link top menu button to item page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
hfhnb
New Member
New Member
Posts: 3
Joined: Fri Jul 03, 2009 12:26 pm

how to link top menu button to item page

Post by hfhnb »

I am using CMS 1.2.3 and PHP4.  My site is www.habitatnorthbay.com.  I am a new user and have taken over this site from someone else.  I need to change the hyperlink on one of the top menu buttons and cannot find where to change it in the site admin.  Thank you for your patience and help.
Deak

Re: how to link top menu button to item page

Post by Deak »

Assuming that these buttons are part of a menu driven by Menu Manager, they relate to actual Pages in the system. In CMSMS go to Content > Pages.

Commonly the top-level menu will be automatically created from the parent pages contained there.
hfhnb
New Member
New Member
Posts: 3
Joined: Fri Jul 03, 2009 12:26 pm

Re: how to link top menu button to item page

Post by hfhnb »

Thank you for your reply. Yes I am using menu Manager. I can setup the menu tab in the main template that was created and named Habitat,



{menu template='topnav' items='home,Events,photo-albums,donate'}

but do not know how to link these items to the actual page I want them to go to?

I am sorry that I have little experience and therefore may need a little bit more explaination but your help is greatly appreciated.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: how to link top menu button to item page

Post by Jeff »

Look at the pages screen, for each of those items there should be a corresponding page.
hfhnb
New Member
New Member
Posts: 3
Joined: Fri Jul 03, 2009 12:26 pm

Re: how to link top menu button to item page

Post by hfhnb »

Thanks, it took a few minutes to realize what you where saying but I got it to work.  Sorry but I have no experience in CMS but am willing to learn.  Great support.
Deak

Re: how to link top menu button to item page

Post by Deak »

To save you the bother of manually adding pages to the menu in your template, you could do something like:

{menu template='topnav' number_of_levels='1'}

Which would automatically look for all your top-level pages.

Or, if you did need to exclude some pages, but include most, you could do:

{menu template='topnav' number_of_levels='1' excludeprefix="privacypolicy,terms,help"}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: how to link top menu button to item page

Post by Dr.CSS »

And as always if it's [solved] please change the first post subject line...
Post Reply

Return to “Layout and Design (CSS & HTML)”