Forums / Templates, Stylesheets, Page Layout / Banner Only Required on Home Page

Banner Only Required on Home Page

Locked

Views: 1,578

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
11 Nov 2009, 3:23 PM
#1
ruralcraftsman avatar

ruralcraftsman

New Zenner

Join Date:
Nov 2009
Posts:
16
Plugin Contributions:
0

Banner Only Required on Home Page

I was able to get the banner on the center column of my homepage but now it appears on the center column of every page. How do I fix it such that it does not appear on any other page. And now if somebody knows the answer to that, you probably know the answer to how to make different banners appear on different pages. Thanks in advance for your time.:dontgetit

here's the website: http://www.ruralhandicrafts.com

Rural Handicrafts Company

http://www.ruralhandicrafts.com

11 Nov 2009, 3:25 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Banner Only Required on Home Page

Ru,
Scroll down on the bottom of this page to view similar threads

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

11 Nov 2009, 3:45 PM
#3
ruralcraftsman avatar

ruralcraftsman

New Zenner

Join Date:
Nov 2009
Posts:
16
Plugin Contributions:
0

Re: Banner Only Required on Home Page

thank you haredo! it worked perfectly.

Rural Handicrafts Company

http://www.ruralhandicrafts.com

11 Nov 2009, 4:06 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Banner Only Required on Home Page

Ru,
Your Welcome, Just curious for us fellow Zenners who troll through these threads, what was the fix????

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

11 Nov 2009, 4:10 PM
#5
ruralcraftsman avatar

ruralcraftsman

New Zenner

Join Date:
Nov 2009
Posts:
16
Plugin Contributions:
0

Re: Banner Only Required on Home Page

i just had to add the highlighted portion to the banner code: if ($this_is_home_page && (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3))) {

Rural Handicrafts Company

http://www.ruralhandicrafts.com

11 Nov 2009, 4:12 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Banner Only Required on Home Page

Ru,
Thanks for the Update, nice work.. :cool:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 Nov 2009, 2:57 AM
#7
gearheadniko avatar

gearheadniko

New Zenner

Join Date:
Oct 2009
Posts:
63
Plugin Contributions:
0

Re: Banner Only Required on Home Page

Hey ruralcraftsman, please be kind to a newbie. Where is this banner code that I add the highlighted text to. Please help
Niko

27 Nov 2009, 3:59 AM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Banner Only Required on Home Page

Ge,
tpl_main_page.php in your includes/templates/YOUR_TEMPLATE/common directory.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 Nov 2009, 1:02 PM
#9
gearheadniko avatar

gearheadniko

New Zenner

Join Date:
Oct 2009
Posts:
63
Plugin Contributions:
0

Re: Banner Only Required on Home Page

That got it. Thanks so much