How could I add a field to the template: Financial Business?

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Wed May 02, 2012 10:27 pm
Im interessting in adding a field between the fields [Logo] and [userarea].

How do you recommend me to do that?

Regards


Kim
User avatar
Fresh Boarder

GK User
Wed May 02, 2012 10:47 pm
The easiest way is to modify template code, proper files you can find in template/layouts/blocks directory or in file default.php in template/layout folder.
User avatar
Platinum Boarder

GK User
Wed May 02, 2012 10:56 pm
Hi

This is considerate customization... but follow this instructions:

Open templateDetails.xml file and find this line:

Code: Select all
<position>banner2</position>


replace with:

Code: Select all
<position>banner2</position>
<position>banner_top</position>


Next open this file ../lib/framework/gk.const.php and find this line:

Code: Select all
'banner2' => 'none',


replace with
Code: Select all
'banner2' => 'none',
'banner_top' => 'none',


Next open this file ../layouts/blocks/nav.php and find this line:

Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>


replace with
Code: Select all
<?php if( $this->modules('banner_top')) : ?>
<div id="gkBanner_top" class="clear clearfix">
      <jdoc:include type="modules" name="banner_top" style="<?php echo $this->module_styles['banner_top']; ?>" />
</div>
<?php endif; ?>
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>


Them go to template parameters and enable override.css file.
From the template css directory, open this file and add this lines:

Code: Select all
#gkBanner_top {width: 45%; float: left;margin: 0 30px;overflow: hidden}


Finally go to Modules manager and publish your module on "banner_top" module position.
This module will be displayed between logo and login/register

Important Notice!

Please remember this changes on this files if you make any update on template files.

Cheers ;)
User avatar
Platinum Boarder


cron