Hi
Och, I just followed Your link and noticed that there is a message on top of the module positions map:
Important: At pages with big headers like single article page, category blog page, user page please don't use module positions above mainbody_top module position.
which means that this module position was getting in the way of the layout and is most likely disabled in some configurations.
To not waste more time, I have a better idea than to trying figure out how to make work something programmers disabled and I think adding new module positions over and under mainbody may solve the problem. Edit file /layout/default.php and replace code:
- Code: Select all
<?php if($item_id != $error_item_id) : ?>
<section id="gkMainbody">
<?php if(isset($this->module_ids['mainbody'])) : ?>
<div<?php if(isset($this->module_ids['mainbody'])) echo ' id="'.$this->module_ids['mainbody'].'"'; ?>>
<?php endif; ?>
<?php if(!$this->API->modules('mainbody')) : ?>
<jdoc:include type="component" />
<?php else : ?>
<jdoc:include type="modules" name="mainbody" style="gk_style" />
<?php endif; ?>
<?php if(isset($this->module_ids['mainbody'])) : ?>
</div>
<?php endif; ?>
</section>
<?php else : ?>
<section id="gkMainbody">
<?php $this->layout->loadBlock('error_page'); ?>
</section>
<?php endif; ?>
with:
- Code: Select all
<?php if($item_id != $error_item_id) : ?>
<section id="gkMainbody">
<jdoc:include type="modules" name="mainbody_over" style="gk_style" />
<?php if(isset($this->module_ids['mainbody'])) : ?>
<div<?php if(isset($this->module_ids['mainbody'])) echo ' id="'.$this->module_ids['mainbody'].'"'; ?>>
<?php endif; ?>
<?php if(!$this->API->modules('mainbody')) : ?>
<jdoc:include type="component" />
<?php else : ?>
<jdoc:include type="modules" name="mainbody" style="gk_style" />
<?php endif; ?>
<?php if(isset($this->module_ids['mainbody'])) : ?>
</div>
<?php endif; ?>
<jdoc:include type="modules" name="mainbody_under" style="gk_style" />
</section>
<?php else : ?>
<section id="gkMainbody">
<?php $this->layout->loadBlock('error_page'); ?>
</section>
<?php endif; ?>
This will add 2 new module positions: mainbody_under and mainbody_over which would work like You want them to.