How to access system's default sub tabs? - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: How to access system's default sub tabs? (/thread-124532.html) |
How to access system's default sub tabs? - TOA - 2012-08-16 That's the best title I could think of so I'll do my best to describe it better here. I wrote a plugin for the acp. Works fine, everythings great. I just know there has to be a better solution to a small part of it; the subtabs have to be re-created in my plugin. My plugin adds a sub tab under the users module of the groups/users. When my page is displayed, I have to recreate the array of subtabs to get them to show up. I see a potential problem in the case that future releases of mybb add tabs and my plugin would need to be updated accordingly. Not the best solution. I tried everything I could think of so I come searching. Anybody know how to get them to pull in automagically? :p Here's some code if anyone feels it's relevant. Thanks for reading.
|