New Position for Banner or module

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Apr 01, 2013 11:48 pm
Reply with quote
Report this post
Would like to know how this layout. Add a new position.

AFTER
original.jpg


BEFORE
other.jpg


Thanks
User avatar
Senior Boarder

Konrad M
Tue Apr 02, 2013 6:14 am
Reply with quote
Report this post
Hi,
here you have info how add new module position http://www.gavick.com/documentation/joo ... -position/
User avatar

GK User
Wed Apr 03, 2013 1:58 pm
Reply with quote
Report this post
The step 1 (templateDetails.xml) e step 2 (gk.const.php) OK

My new position is shown in the list of positions, and now?

I paste this code in default.php or which block (layouts / blocks), and what better line to paste this code?

This code allright

<?php if($this->modules(‘bannernovo’)) : ?>
<div>
<jdoc:include type="modules" name="bannernovo" style=”<?php echo $this->module_styles['bannernovo']; ?>” />
</div>
<?php endif; ?>


Thanks
User avatar
Senior Boarder

Konrad M
Thu Apr 04, 2013 9:14 am
Reply with quote
Report this post
Ok, try paste this code to default.php
Code: Select all
<?php if($this->API->modules('bannernovo')) : ?>
<div>
<jdoc:include type="modules" name="bannernovo" style="<?php echo $this->module_styles['bannernovo']; ?>" />
</div>
<?php endif; ?>
User avatar

GK User
Fri Apr 05, 2013 4:50 am
Reply with quote
Report this post
Thanks Konrad M
I pasted the code in the default.php line 82, and it worked ..
Just wonder if it is the best line to paste, or whatever in which row paste
User avatar
Senior Boarder

Konrad M
Fri Apr 05, 2013 8:15 am
Reply with quote
Report this post
I think that this line is ok. Just remember about your changes when you will update your template.
User avatar

GK User
Fri Apr 05, 2013 11:47 am
Reply with quote
Report this post
Thanks man, helped me a lot, you are great the Gavick.

Thanks
User avatar
Senior Boarder


cron