[solved] How to add text below main nav item
Posted: Mon Oct 17, 2011 11:53 am
I'm having a problem adding unique content to a navigation/menu item within a Menu Manager template.
What I'm trying to do is add a 2 or 3 word description under the main navigation text for each menu item. For example: 'About' is the main nav text and underneath it says 'About this company'. I want to create a field where the CMS admin can add the phrase 'About this company' to the page and have it appear under the main nav text.
I've tried using one of the 'Extra Page Attributes' but this hasn't worked. It just adds the 'Extra Page Attribute' for the page you are on to every nav item. I'm sure there is a simple way to get this to work, but my PHP knowledge isn't enough to know it!
Can anyone tell me the best way of accomplishing this?
Thanks,
Nick.
What I'm trying to do is add a 2 or 3 word description under the main navigation text for each menu item. For example: 'About' is the main nav text and underneath it says 'About this company'. I want to create a field where the CMS admin can add the phrase 'About this company' to the page and have it appear under the main nav text.
I've tried using one of the 'Extra Page Attributes' but this hasn't worked. It just adds the 'Extra Page Attribute' for the page you are on to every nav item. I'm sure there is a simple way to get this to work, but my PHP knowledge isn't enough to know it!
Can anyone tell me the best way of accomplishing this?
Thanks,
Nick.