![]() |
Moderator Menu creation
Does anyone have a link to a tutorial on creating a menu in the moderator CP?
|
You'd need to use the mod_index_navigation hook. Take a look at the index.php file in the modcp directory and search the file for the following to see how they are used to create the side groups. Then make a plugin using the mod_index_navigation hook to add your own side groups.
Code:
construct_nav_option |
Calorie beat me to it :)
|
A working example from one of my hacks :)
PHP Code:
Alan. |
Perfect, thanks all works like a charm!
|
I'm a little confused about this. Is there a way to use an XML file made for the AdminCP and have it appear in the ModCP?
|
Unfortunately, no. You have to make a plugin simaler to the one above ^^^ to add menu entries to the ModCP.
Thanks, Alan. |
All times are GMT. The time now is 12:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|