I have a multi-tier menu, where the tier-1 menu headings (e.g. about us, products etc...) will never change. Furthermore, they have images rather than just words for their headings and each one of them is a different size. Now, my question is ... how should I write my .ss template.
** Option 1 **
I could, of course hardwire the tier-1 items and then in the code have something like:
<% control ChildrenOf(about-us) %> [create about us sub menu here]
<% control ChildrenOf(products) %> [create products sub menu here]
** Option 2 **
I could assign an individual ID / class to each tier-1 entry.
** Option 3 **
Should I perhaps add an extra database field that can be used to specifically give the tier-1 pages a code?
The second option seems easier. However, what name or id should I use. I am a bit worried that my CMS administrator might accidentally change the name for one of the pages and thereby destroy the menu. Is there a best practice for this?
What option would you recommend and are there any examples out there?
Thanks in advance