Forums / Templates, Stylesheets, Page Layout / Stuck trying to add info below footer banners

Stuck trying to add info below footer banners

Locked

Views: 804

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Mar 2009, 7:46 PM
#1
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Stuck trying to add info below footer banners

Hi Guys,

I'm trying to mod my site so that I can display a list of products that I sell on the mainpage ONLY.

Website ... https://www.wickedstyling.com

I have managed to get the list in by modifying the tpl_main_page but I can't find a way for it to be visable on the main page only?

I found some reference to putting mods into the tpl_index but any change I made to this messed up the whole site layout.

Any ideas?

I also have a second change I would like to impliment but hav'nt had any success. I would like to move my wide footer banners so that they appear above the copyright & nav links? Is this possible?

Help will be greatly appreciated!!

Zen Newbie: www.wickedstyling.com]. Thanks All.

10 Mar 2009, 8:44 PM
#2
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Stuck trying to add info below footer banners

Well The right way to do it is through the tpl_index_default, the tpl_main_page controls the whole site and is loaded on every page.
Are you referring to the list in the footer of the site???

You can use an IF statement to only allow you to display the code you want on the home page.

<?php if ($this_is_home_page) {?>

Your Code Goes Here

<?php }?>

Now since you have the code in the footer of your page I would try to use this code in the tpl_footer instead of the main page.

10 Mar 2009, 10:53 PM
#3
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: Stuck trying to add info below footer banners

Worked first time, THANKS!!!!!!!:D

Zen Newbie: www.wickedstyling.com]. Thanks All.