New module position for banners

Responsive Joomla template for Entertainment and Music purpose with clean and lightweight design.
GK User
Sat Feb 08, 2014 9:43 am
Probably asking a bit too much but I will ask anyway.......feel free to say no :D

Basically I want to put banners in the white space centered on the page horizontally at the top of the template on this site:

http://www.guiseley.net

I understand this is outside the main wrap and am not sure how to add this to your template (I have worked on templates of my own but nothing as complex as your templates, so I am a bit lost). This is probably too much work for the forums here but I thought I would ask if anyone had used the same solution themselves maybe ?

Thanks in advance
User avatar
Fresh Boarder

GK User
Sat Feb 08, 2014 10:45 am
Please read this documentation:
http://www.gavick.com/documentation/joo ... -position/
http://www.gavick.com/documentation/joo ... -size-etc/

It should provide you some informations about how to start. If you will have any problems during the process, please write back.
User avatar
Moderator

GK User
Sat Feb 08, 2014 9:41 pm
Ahhh thats great thanks Cyberek, maybe you should post these links out to everyone who purchases an account....
User avatar
Fresh Boarder

GK User
Sun Feb 09, 2014 4:09 am
Right, I gave it a try and got this error message when I added the suggested code to layouts/default.php

This is what I added, module position being outsidetop as I want it to be above the mainwrap

Code: Select all

   <?php if($this->API->modules('outsidetop')) : ?>
   <div class="newstyle">
   <jdoc:include type="modules" name="outsidetop"
   style="<?php echo $this->module_styles['outsidetop']; ?>" />
   </div>
<?php endif; ?>



I add this directly above the code for the mainwrap in the document default.php

But I then get this error:

" Fatal error: Call to undefined method JDocumentHTML::modules() in /home/guiseley/public_html/templates/gk_music/layouts/default.php on line 61"

I don't see this code in the default.php as suggested in the readme you pointed me towards:

Code: Select all
Remember about <div> ..</div>and <section>..</section> if they appears in template code.


This is what I see:

Code: Select all
<?php $this->messages('message-position-1'); ?>
   <div id="gkLang" class="gkMain gkWrap">
    <?php if($this->modules('lang')) : ?>
     <jdoc:include type="modules" name="lang" style="<?php echo $this->module_styles['lang']; ?>" />
    <?php endif; ?>
    </div>      
   <div id="gkPage" class="gkMain gkWrap">
      <div id="gkPageWrap">
           <div id="gkPageTop" class="clearfix">
              <?php $this->loadBlock('logo'); ?>
           </div>
    
          <div id="mainContent" class="clear">
               <?php if($this->getParam('show_menu', 1)) : ?>
             <div id="gkMainMenu">
                <?php
                   $this->menu->loadMenu($this->getParam('menu_name','mainmenu'));
                    $this->menu->genMenu($this->getParam('startlevel', 0), $this->getParam('endlevel',-1));
                ?>
             </div>


Hope you can let me know what I did that was stupid....
User avatar
Fresh Boarder

GK User
Mon Feb 10, 2014 11:17 am
Could you please create a zip from default.php file and attach it to your post?
User avatar
Moderator


cron