Jump to content

Need Help with Sidebar


MarlonH

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated