Make Top-most Menu Parent "Unclickable"

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
bcgreen24

Make Top-most Menu Parent "Unclickable"

Post by bcgreen24 »

Howdy, folks...I'm trying to figure out how to modify the code in my menu template to prevent the top-most menu parents from being links...in other words, if I have a drop-down CSS menu called "Departments" and then under that "Accounting", "Finance", "Sales", etc, I want the user to be able to click on the sub-menu items Accounting, Finance, Sales, but not on "Departments", since there is no page for this....

Any help would be much appreciated!

Thanks,
Bryan
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Make Top-most Menu Parent "Unclickable"

Post by calguy1000 »

Make each of the 'Departments' Section headers.  then they're not clickable, as they don't point to any content.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”