Forums / Templates, Stylesheets, Page Layout / Custom Footer for home page

Custom Footer for home page

Locked

Views: 5,817

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
7 Feb 2009, 1:32 AM
#1
jamesdenny avatar

jamesdenny

New Zenner

Join Date:
Feb 2008
Posts:
17
Plugin Contributions:
0

Custom Footer for home page

I'm using the most current version of zen cart and have customized the look for a client. I am 99% finished on the look and feel of the site but want to create a custom footer for the home page only. If I do this in the Define Pages Editor, it pushes my footer over to the left as it is coded that way in the stylesheet.

Is there a way to create a custom footer for the home page only and allow all the other pages to inherit the footer that is in the tpl_main_page.php?

HELP!!!!!

My site is here:
http://www.chatillon.com/cart

Thanks for any help you can give. :smile:

7 Feb 2009, 1:40 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Custom Footer for home page

there is no define page for footer in zencart. but zencart comes with footer and it should display on all pages. your custom template might have broken the code for the footer.

zencart footer is in includes>templates>common , folder .

tpl_footer.php

7 Feb 2009, 2:54 AM
#3
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Custom Footer for home page

Well in your tpl footer you could do something like:

if($this_is_main_page)
{
Your custom footer code here...
} else
{
All the normal tpl_footer code here...
}

7 Feb 2009, 9:54 AM
#4
jamesdenny avatar

jamesdenny

New Zenner

Join Date:
Feb 2008
Posts:
17
Plugin Contributions:
0

Re: Custom Footer for home page

I tried that and it displays the footer on all pages still. Any other advice? Suggestions?

7 Feb 2009, 11:32 AM
#5
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Custom Footer for home page

jamesdenny:

I tried that and it displays the footer on all pages still. Any other advice? Suggestions?
Try
http://www.zen-cart.com/forum/showthread.php?t=55487

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others