How can I create New module position on the top

GK User
Thu Feb 16, 2012 5:22 pm
I need help for create a new module position for banner in top page, anyone can help me?
User avatar
Junior Boarder

GK User
Thu Feb 16, 2012 5:45 pm
Find File: \templates\gk_party_freak\layouts\blocks\nav.php
Find Lines: 25 to 27 which is below.
Code: Select all
<div id="gkPageTop" class="gkMain <?php echo $this->generatePadding('gkPageTop'); ?>">

<?php if ($this->getParam('logo_type', 'image')!=='none'): ?>

Replace with below
Code: Select all
<div id="gkPageTop" class="gkMain <?php echo $this->generatePadding('gkPageTop'); ?>">
<?php if( $this->modules('bannertop')) : ?>
<div id="gkBannertop" class="clear clearfix">
      <jdoc:include type="modules" name="bannertop" style="<?php echo $this->module_styles['bannertop']; ?>" />
</div>
<?php endif; ?>
<?php if ($this->getParam('logo_type', 'image')!=='none'): ?>

Find File: \templates\gk_party_freak\templateDetails.xml
Find Lines: 60/61 which is below
Code: Select all
      <position>banner1</position>
      <position>banner2</position>

Add bannertop so it looks as below
Code: Select all
      <position>banner1</position>
      <position>banner2</position>
      <position>bannertop</position>

Find File: \templates\gk_party_freak\css\override.css
Add below css
Code: Select all
#gkBannertop { width: auto; margin-top: -120px; margin-bottom: 30px; }

Enable Css override feature from template settings > advanced settings > css override "on ".

Publish your banner module to "bannertop" position.

See you around...
User avatar
Platinum Boarder

GK User
Thu Feb 16, 2012 6:03 pm
thanks thanks thanks!!!!!!
User avatar
Junior Boarder

GK User
Thu Feb 16, 2012 6:25 pm
No problem at all.

See you around...
User avatar
Platinum Boarder


cron