![]() |
Create pages for Mod CP
There is a tutorial for creating pages in admin cp, but I'm trying to figure out mod CP.
https://vborg.vbsupport.ru/showthread.php?t=83122 Can someone help me out? Thanks. |
I'd say they were pretty similar, just put your file in the modcp directory.
You can use the can_moderate() function to verify permissions I think. Then just use the construct_cp_nav() (I think), print_cp_header() and print_cp_footer() functions as usual. Most the print_* functions work the same in the AdminCP as they do in the ModCP The best thing is to look at a few pages already in there and see what is common between them, that will give you a basic template for the page (which should be pretty similar to the AdminCP one.) |
All times are GMT. The time now is 11:25 AM. |
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:
|