PDA

View Full Version : adding a new admincp nav button


tpr
03-02-2004, 07:28 AM
I am trying to add a new "section" to my admin cp nav bar (the sidebar) now i thought all i need to do is add a couple of
"construct_nav_option" and close them with a "construct_nav_group" however that does not seem to work (the new option does not appear)
am i missing something ?

thanks

Andreas
03-02-2004, 08:30 AM
That's the way it does work.
Check your code again, maybe you put it at the wrong place (eg. inside an if or such)?

tpr
03-02-2004, 09:16 AM
That's the way it does work.
Check your code again, maybe you put it at the wrong place (eg. inside an if or such)?
strange, i moved my lines a bit and it began to work (they were not inside an if) O.o
anywayz,
thanks

Andreas
03-02-2004, 09:47 AM
They must have been at some place where the code was not executed :)