new position

Gamebox for Joomla 1.5 support forum by GavickPro
GK User
Mon May 23, 2011 6:49 pm
Good evening, as in 'picture attached, I would like to create a new position over the positions, "user " that takes the entire width of the page as the position banner2 "

thanks
greetings
module_positions.jpg
User avatar
Fresh Boarder

GK User
Wed May 25, 2011 9:54 am
up
User avatar
Fresh Boarder

GK User
Wed May 25, 2011 12:58 pm
Hi

Try like this:

Open templateDetails.xml file and after this line:
Code: Select all
<position>banner2</position>


add this one:
Code: Select all
<position>banner3</position>


Next open ../layouts/blocks/botsl.php and at the begging of this file add this code:

Code: Select all
<?php if( $this->countModules('banner3') ): ?>
<div id="banner2" class="clearfix clear">
   <jdoc:include type="modules" name="banner3" style="none" />
</div>
<?php endif; ?>


That should do the job.

Cheers ;)
User avatar
Platinum Boarder

GK User
Wed May 25, 2011 3:02 pm
Thank you very much!!!
User avatar
Fresh Boarder


cron