hostingboss Posted May 13, 2014 Report Posted May 13, 2014 I searched for this but saw no clear explanation of what it was. This question builds off of my other topic http://www.blesta.com/forums/index.php?/topic/2411-just-cant-stay-out-of-this-forum-interworx-issue/ How can I add a tab to a module and have it display on the client/services/manage/ page? Thanks! Quote
0 Michael Posted May 13, 2014 Report Posted May 13, 2014 I don't recommend editing modules unless you know how to, the other thread just needed the user to click the service row to see the login information. Quote
0 hostingboss Posted May 13, 2014 Author Report Posted May 13, 2014 The only way I can learn is to try things myself. EDIT: I basically wish to do the same thing but with a tab on the service page. I don't recommend editing modules unless you know how to, the other thread just needed the user to click the service row to see the login information. Quote
0 Tyson Posted May 14, 2014 Report Posted May 14, 2014 Take a look at the documentation. You can also take a look at other modules, like the VPS.net module. First define YourModule::getClientTabs(), which returns an array of key/value pairs to reference each tab (as shown in the documentation). Then use those keys as public method names in your module which render the view for the specific tab. Michael and hostingboss 2 Quote
0 hostingboss Posted May 14, 2014 Author Report Posted May 14, 2014 Aha! Got it to work using the documentation. Added extra tabs with service info and commands. Quote
Question
hostingboss
I searched for this but saw no clear explanation of what it was. This question builds off of my other topic http://www.blesta.com/forums/index.php?/topic/2411-just-cant-stay-out-of-this-forum-interworx-issue/
How can I add a tab to a module and have it display on the client/services/manage/ page?
Thanks!
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.