sidebar menue is not displayed

Support desk for Multipurpose Quark Theme
GK User
Tue Dec 29, 2015 3:57 pm
hello,

same template same problem! I can not use the sidebar modul.

I switched it on but it is not displayed.

Also the Moduls mainbody_top and mainbody_body are not displayed.
Only the mainbody modul is displayed.

whats wrong in my template? Everything is updated.

thanks a lot for your help, claudia
User avatar
Gold Boarder

teitbite
Thu Dec 31, 2015 7:25 pm
Hi

I would need to check why You cannot use mainbody_top, but I'm sure there is no module position called "mainbody_body". Here is a full list of available module positions: https://demo.gavick.com/joomla3/quark/t ... -positions

Sidebar module position is a little bit complicated. It was removed in single article layouts to meet designer's idea. Adding that is a little bit more complicated, so I would need an access to FTP to make it for You.
User avatar
Moderator

GK User
Sat Jan 02, 2016 3:33 pm
thanks Teitebite - and I have to hit me - because I wrote manbody_body what is nonsense: what I mean was mainbody_bottom is not displayed to.

So do I understand it right that I can use the sidebar modul only in or at an artikel...

and not when I use the modul position mainbody_XY like it is shown in your link-picture: https://demo.gavick.com/joomla3/quark/t ... -positions

what I see is modul position mainbody_xy and Sidebar modul

is that right? because I wanted to use the modul position mainbody_xy and switch a modul at the sidebar place...
If you say You can do this for me but You need an account I will send you an PM

thanks for help!
and happy new year! dont forget that :D
User avatar
Gold Boarder

GK User
Sat Jan 02, 2016 3:47 pm
Would be great if you check the mainbody_bottom and mainbody_top thing - both modulplaces can not be used they are not displayed...
User avatar
Gold Boarder

teitbite
Mon Jan 04, 2016 10:48 am
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.
User avatar
Moderator

GK User
Wed Jan 20, 2016 11:33 am
thanks titebite for your help! :shock:
User avatar
Gold Boarder

teitbite
Sun Jan 24, 2016 1:55 pm
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron