el_makong Posted March 19, 2016 Share Posted March 19, 2016 Hi all, is there any possible way to add menu in main page(not client area nor admin area) that list some servers that "active client product"? the case is this: active client have a product that can be configured to be listed on that page addon module is installed and activated to be used as interface to the database for listing the server on custom page a menu item in navigation bar. probably beside "network status". or maybe replacing that menu item. the page is visible for anyone.not only for admin and/or client. so they doesnt have to create new account just to see that custom page. possibly, i am using the addon module to add the page. is it possible?and how? i think i cannot use template file to list that as the template cannot contact the database for the data 0 Quote Link to comment Share on other sites More sharing options...
el_makong Posted March 19, 2016 Author Share Posted March 19, 2016 i have found the solution for adding the menu to navigation bar. but then, how do i point the ->setUri() to the page residing inside the /modules/addons without showing the path? as for now, if i set $page->setUri('/customaddonpage.php') it just point to the whmcs instalation folder. but, what i want is $page->setUri('/modules/addons/mymodule/customaddonpage.php') but it doesn't show up on the URL. the point is: i dont want to store any custom page outside the module folder or module directory so its less cluttered. is it possible? 0 Quote Link to comment Share on other sites More sharing options...
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.