My affiliation with some marketing agents requires me to place their logos at my website. I wish to place these logos along the right side sidebox area and display them only at the homepage. Is an easy way to achieve this? Thanks.
My affiliation with some marketing agents requires me to place their logos at my website. I wish to place these logos along the right side sidebox area and display them only at the homepage. Is an easy way to achieve this? Thanks.
I was considering to use the banner feature to achieve the objective listed in my posting above but realized that the banner would be displayed in every page rather then just the homepage.
In addition, I would like to display these logos without any borders, header, and footer. Can someone pls. help. Thanks.
You could make a custom sidebox for these images ... and turn them off based on the current page setting so that they only show when you want them to ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks for the suggestion Linda, I am not much of a php programmer. Is there a sample template i can refer to?
I have created a sidebox and am trying to get it to display only at the homepage w/o much luck. I referred to this link here but still aren't clear as to how to go about doing it.
Any advise would be much appreciated.
There is a new feature in Zen Cart v1.3.5 to know if you are on the real home page ...
Look at the other sideboxes and you will see $show_something ... follow that logic to enable/disable the sidebox utilizing the $this_is_home_page ...PHP Code:
if ($this_is_home_page) {
// I am on home page
} else {
// I am not home page
}
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
What shld I list as condition(s) in the If statement to determine whether the homepage is displayed? Many thanks.
BTW, just to add that I am still at version 1.2.7d.Originally Posted by Ajeh
bummer ... $this_is_home_page lives in v1.3.5 ...
Might download it and install a test shop and find how that variable is determined ... then customize something similar ...
Or ... upgrade ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Perhaps a little background info. What I need to achieve is:
if (Hompage)
show sidebox 1
else
show sidebox 2
I looked thru' v1.3.5 and found this code:
It's working somewhat to what I need. By that I mean when the Homepage is displayed, sidebox 1 is shown. When any category is clicked, sidebox 2 is switched to. However, when i click on a product which causes the URL to changed fromCode:$this_is_home_page = ($current_page=='index.php' && !isset($_GET['cPath']));
www.mywebsite.com
to
http://www.mywebsite.com/index.php?m...roducts_id=962
the code failed to switch to sidebox 2.
I believe the condition in my IF statement is incomplete. Could anyone point out what I am missing? Thanks very much.
Bookmarks