admin options
#1
how do you add more options to it
#2
Are you talking about the menu?

It's simple in admin/index.php find:

makenavoption($lang->nav_add, "announcements.php?action=add");
makenavoption($lang->nav_modify_delete, "announcements.php?action=modify");
makenavselect($lang->nav_announcements);

And create your new options based on that.

For the Settings just use the Add New Settings section of the ACP.
@ryanashbrook
Do NOT PM me for Support!
#3
wrong that does not work you have to edit the index.lang.php file too
#4
Easy mistake I made, it was only the first time I even looked at the RC3 code.
@ryanashbrook
Do NOT PM me for Support!
#5
Actually, Ryan was correct in that you can admin. options using the code he provided. Instead of pointing to a language statement, though, static text can be used:
makenavoption("Item 1", "announcements.php?action=add");
makenavoption("Item 2", "announcements.php?action=modify");
makenavselect("Category Name");
Matt Light
MattLight.com
If you want my help, be sure to follow the posting tips.
#6
well you could do it that way but i wanted that way
#7
If you knew another way then why did you asked it in the first place? and what's the difference between doing it one way or the other Undecided.
#8
Kryptonate Wrote:If you knew another way then why did you asked it in the first place? and what's the difference between doing it one way or the other Undecided.
For language support. Wink

And I don't think he/she knew in the first place.


Forum Jump:


Users browsing this thread: 1 Guest(s)