Best way to learn will be to install the demo site content and see how it builds the menus dynamically. However, in the case of a graphical menu like yours, it’s probalby best to hand-code it into your template, or use a Chunk if you have more than one template that uses the same navigation.
Hope this helps!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 10 Posts
Ok, my first thought was to just use it in the template but, I kept reading about the menu having to be a Snippet. I think it would be better to keep it in the template.
Thanks a bunch
Jackie
I would suggest putting the menu into a chunk, then call the chunk in the template. That way, if you ever do decide to do something else with it, you only have to edit the chunk, not fiddle with the whole template.
-
- 1,131 Posts
Actually, that menu could easily be converted into a CSS styled menu. Granted, the font for the menu items themselves would likely need to change to something like Arial, Helvetica, or the like. But you can still use a similar background for each menu item. The benefit is that you’re not stuck with specific menu items and can have a menu that is highly dynamic and can change at a moment’s notice. The downside is that you’ll be limited by the fonts that can be used for the menu text. Might be something to think heavily on.
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
Or combined with sIFR, you could have the best of both worlds.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me