I have been trying to find a work around all weekend and the closes I got was using this code:
- Code: Select all
<?php $view = JRequest::getVar('view', 0); ?>
<?php if ($view != "category") { ?>
<aside id="gkSidebar" class="gkOnlyOne">
<div>
<jdoc:include type="modules" name="sidebar" style="<?php echo $this->module_styles['sidebar']; ?>" />
</div>
</aside>
<?php } ?>
in the default.php file in the layout folder. And it works, but unfortunately it leaves a blank space in place of the sidebar in the section blog in this case. Any kind of advice will be hugely appreciated. I am guessing that request goes to the responsive layout and resizes the content even though the module doesn't appear on the page. I don't code myself so if anyone can help me with this I'll be very grateful.
Thank you in advance.



