PDA

View Full Version : Need help on layout


claudio
09-16-2007, 03:27 PM
Hope someone can help. I using Ocean Green Template. I placed one of my google adsense on left column. What happens is "Feature Links and Partner Links" are on the bottom of the ad. I want to place the ad the other way on the bottom, keeping Feuature and Partner on top.
Can someone direct me to correct info for this.

Greatly appreciated.
C

Greg
09-16-2007, 06:57 PM
I have to be away from the computer for a few hours, but when I get back I'll take a look. It's an easy fix (I think :) just a matter of switching the code for the adsense.

claudio
09-16-2007, 10:40 PM
Thanks Greg. Will wait for your posting.

Greg
09-16-2007, 10:41 PM
Give this a try.

Open footer.tpl and find:
{if $partner_links}
<!-- partner links box start -->
{include file="box-header.tpl" caption=$lang.partner_links}
<div class="links">
{foreach from=$partner_links item=link}
<div class="partner-link"><a href="{$link.url}" class="title" id="l{$link.id}" {if

$config.new_window}target="_blank"{/if}>{$link.title}</a></div>
{/foreach}
</div>
{include file="box-footer.tpl"}
<!-- partner links box end -->
{/if}
Just below that place:
<div class="adsense">Google AdSense display here</div>
I think that should work?

Good timing I see you just replied. :)

claudio
09-16-2007, 11:16 PM
Hi Greg I just sent you a PM with my link. I should hv explained alittle better.. sorry. I created a banner in the admin panel and place the google adsend to the right. The banner appears on sort order 1 and below the add you have the Feature/Partner boxes. I wanted to put this 2 boxes above the banner. What page do I control the layout to the right column.

Pls advise and thank you for helping out.
C

claudio
09-16-2007, 11:19 PM
Greg I got it just change programming in footer.tpl now it works tks again.

Greg
09-17-2007, 12:49 AM
Greg I got it just change programming in footer.tpl now it works tks again.
You're welcome :)

Is this what you did? (just so others may know)
In the footer.tpl find this bit of code:
{if $config.banners and $right_banner}
<!-- right banner start -->
{dynamic}
{include file="banner.tpl" banner=$right_banner}
{/dynamic}
<!-- right banner end -->
{/if}
And cut and paste it below this:
{if $partner_links}
<!-- partner links box start -->
{include file="box-header.tpl" caption=$lang.partner_links}
<div class="links">
{foreach from=$partner_links item=link}
<div class="partner-link"><a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a></div>
{/foreach}
</div>
{include file="box-footer.tpl"}
<!-- partner links box end -->
{/if}

claudio
09-17-2007, 01:16 AM
Sorry about that Greg. Should have explained. Yes that is was I did and works like a charm. Thanks again for your help. Hv a good night. :good: