MarlonH Posted March 13, 2017 Share Posted March 13, 2017 Hello, I am working on a new WHMCS theme for my hosting company. But i have one issue. I will use the primary and secondary sidebar on each page and i have included in my pages (webhosting.php) see on the bottom. <?php use WHMCS\ClientArea; use WHMCS\Database\Capsule; define('CLIENTAREA', true); require __DIR__ . '/init.php'; $ca = new ClientArea(); $ca->setPageTitle('webdevelopment'); $ca->initPage(); Menu::primarySidebar('announcementList'); Menu::secondarySidebar('announcementList'); $ca->setTemplate('webdevelopment'); $ca->output(); Know is the issue support pages / knowledgebase and index will not use this function How can i include them on this pages? Sorry for bad english. Best Regards, MarlonH 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.