PDA

View Full Version : Code to get a plugin to


silvermerc
11-01-2012, 02:19 PM
Hi,

What would be the code to make a plugin (xml) to automatically make a custom powered page (vb) and also add a navbar link?
Cheers
Ross

kh99
11-02-2012, 12:25 AM
I'm not sure what you mean by "automatically make a custom powered page", can you explain that more?

You could probably add a link to the navbar using the hook build_navigation_menudata and adding to the $menudata array, but I don't know exactly what you'd have to add. If I were going to do it I'd start out by printing the existing $menu (using print_r(), for instance) and seeing what the structure looks like.