Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function: multi-level navigation. / Plugin for version 2!
#84
Jeff Wrote:What's missing is what Joe asks for in the thread beneath Chris's 2.01 plugins page -- "an architect(ural) / design overview of how the system pieces come together at runtime."
Well, I think the best we could do is a list of functions. But most functions are already being used in the default theme so can easily be picked up from there.

As for documentation to this plugin, there is none because it is offered as is and because there is little to write about that you can’t find in the PHP documentation. If you don’t want to run with the HTML it is outputting you’re best of writing your own menu function. There are no real helping functions for this, you’ll just have to query all the information you need from the back-end XML. In the case of a menu this is made somewhat easier by the menu_data-function as it will give you an object to work with.

I do agree there needs to come some sort of documentation for menu_data(). It was first added, buggy, because it was a quick way to query a lot of information. Now that it’s becoming a solid part of the core it should be documented.

Jeff Wrote:Fyi, I was building for this menu design: http://www.cssplay.co.uk/menus/black-any...tered.html.
Please take a look here and tell me what you think: http://zegnat.net/gsmenu/
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
Function: multi-level navigation. / Plugin for version 2! - by Zegnåt - 2010-03-04, 01:35:35



Users browsing this thread: 2 Guest(s)