Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Sidebar menu doesn't appear

  • emperor
  • emperor's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 weeks ago #137123 by emperor
Sidebar menu doesn't appear was created by emperor
I have a strange problem.
I created a new vertical sidebar menu (vertical-default joomla menu), which appears only on home page and on contact.
On every other page seems like the position sidebar doesn't exists at all.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 weeks ago - 11 years 2 weeks ago #137124 by Krikor Boghossian
Replied by Krikor Boghossian on topic Sidebar menu doesn't appear
Hello John,

By default the sidebar is omitted in this template within the items. You can easily embed it by altering the index.php file a bit. No need to worry about these changes because index.php is removed from the update packages.
          <?php if($this->countModules('businessOne_Sidebar') && ($view!='item' && $view!='article')): ?>

This is around line 129 and change it to
<?php if($this->countModules('businessOne_Sidebar')): ?>

Around line 114 locate
<div class="content column <?php if($this->countModules('businessOne_Sidebar') && ($view!='item' && $view!='article') && ($pageSuffix!='gridView')) echo 'eight mobile-four alpha'; else echo 'twelve alpha omega'; ?><?php if($this->countModules('businessOne_SubmenuCategories') && ($option=='com_k2' && $view=='itemlist' && $task!='tag' && $task!='search')) echo ' enabledSubmenuCategory'; ?>">

and change it to
<div class="content column <?php if($this->countModules('businessOne_Sidebar')) echo 'eight mobile-four alpha'; else echo 'twelve alpha omega'; ?><?php if($this->countModules('businessOne_SubmenuCategories') && ($option=='com_k2' && $view=='itemlist' && $task!='tag' && $task!='search')) echo ' enabledSubmenuCategory'; ?>">

If you need different spacing in your items after this change let me know so I can assist you with the coding.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • emperor
  • emperor's Avatar Topic Author
  • Offline
  • Premium Member
More
11 years 2 weeks ago #137125 by emperor
Replied by emperor on topic Sidebar menu doesn't appear
Both changes are done. Still no sidebar.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 weeks ago #137126 by Krikor Boghossian
Replied by Krikor Boghossian on topic Sidebar menu doesn't appear
Try once more please

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum