Forums / Templates, Stylesheets, Page Layout / New footer link on home page only

New footer link on home page only

Locked

Started by cjkeane on 26 Aug 2008, 6:10 AM · Views: 1,730

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Aug 2008, 6:10 AM
#1
cjkeane avatar

cjkeane

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

New footer link on home page only

My client would like a link on the footer of the home page only to track hits. i know how to edit the footer, but when i make the change, it applies to all pages. i need it only on the home page. Any help would be appreciated.

thx.

26 Aug 2008, 6:37 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: New footer link on home page only

If you are editing tpl_footer.php -

In the template dir for the template you are using make a dir named "index" and place the edited file in it

If that does not do it try naming the folder "home" one of those is the correct name??

Zen-Venom Get Bitten

26 Aug 2008, 6:54 AM
#3
cjkeane avatar

cjkeane

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: New footer link on home page only

kobra:

If you are editing tpl_footer.php -

In the template dir for the template you are using make a dir named "index" and place the edited file in it

If that does not do it try naming the folder "home" one of those is the correct name??

I have tried creating a folder called 'home' and called 'index' in:
/includes/templates/
i modified tpl_footer.php and put it in there. I've refreshed the browser. The old, normal footer is there, so your recommendation didnt work :(

26 Aug 2008, 5:18 PM
#4
cjkeane avatar

cjkeane

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: New footer link on home page only

cjkeane:

I have tried creating a folder called 'home' and called 'index' in:
/includes/templates/
i modified tpl_footer.php and put it in there. I've refreshed the browser. The old, normal footer is there, so your recommendation didnt work :(

Pardon me. I must have been blind lol.

I see the banner appear in the footer on the index and most category pages now except when you are at the product level it disappears.

Is there a way just to have it on the index page?

thx.