Quote:
Originally Posted by Andreas
Although that is a bit slower than hardcoding the HTML, this is the way it should be done as it separates the presentation from the business logic.
If the designer want's to do smth. complletely different from <ul> he can do that by simply modifying the template - with the list entries being generated in PHP he can't
|
Even though I'm not a big fan of anything that increases processing time, I see your point.
And a note for any other coders that might want to add menus via DB addition rather than at installation.. Be sure you run build_language() after adding the navigation and phrase info. If you don't, your phrase won't appear in the menus.
EDIT: Another note.. The information that's the original topic of this thread gets added to the install XML when you export it. So, you just need to create the navigation links and export a new XML for the mod.