How do I make the category name button inactive on a drop down menu?

Permalink 1 user found helpful
Hi all,

I have a drop down menu with 7 sections. When you rollover each section header you are offered page options in the standard manner. The section header button itself leads to an active page though. How do I make these 7 page links inactive? In Dreamweaver I would make the link "#" and only the drop downs would be active links.

What do you chaps do?

Thanks,
JP

 
DanK replied on at Permalink Reply
Anyone? I can't see the answer anywhere and would really appreciate a hand with this.

Thanks,
JP
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
We did this with one of our C5 sites:http://4streets.com (the accordion on the side has a few top-level links that do not go to a page).

We had to do a custom auto-navigation template to make the nav behave this way. That may be the way you have to go for your needs.

Try searching the site for "custom auto-nav" and auto-nav templates.
manup replied on at Permalink Reply
manup
Just create an Attribute called 'disable_link_in_nav'

then check this condition in the autonav/view.php (Respective template) file


Manup
http://www.pixelmargin.com
Did more than 1000 of C5 CMS Websites
DanK replied on at Permalink Reply
Thanks for the answer manup, the only problem is that I'm not sure what you mean... If you could give me a brief explanation I would be very grateful.

Thanks again.
JP.
manup replied on at Permalink Reply
manup
Go to Dashboard->Pages and Themes->Attributes

Create an attribute 'disable_linking' by selecting checkbox.

then go to sitemap and check that checkbox for required pages from its properties

Finally modify your PHP file by considering the condition

Thats all
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
Very handy to know! Thanks!