I'd like to use a header banner 3 (it's the one below the bread crumb) but it should display on all pages of the shop except the main page.
Thank a lot for advice.
I'd like to use a header banner 3 (it's the one below the bread crumb) but it should display on all pages of the shop except the main page.
Thank a lot for advice.
You could surround the code for it with an IF statement and the variable:
$this_is_home_page
That is only true when on your 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!]
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!
Oki, but when I modify the condition like this:
if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3) && !$this_is_home_page) {
HTML of the page loads partly - it loads only to the place where should be the banner, but it isn't there and so the rest of the page isn't loaded (all pages except the main page, of course) - the HTML file ends there (no rest of page, no footer, no </body></html>).
But before I added '&& !$this_is_home_page' the banner displayed without problem.
And I forgot to mention I use last version of Zencart (1.3.7 I think).
Last edited by JakubM; 22 Feb 2007 at 07:38 PM.
sorry to just jump in here but. . .
How in the heck do you post a New Question here?
I am registered.
Thank you
John
Hm I 'm not sure if I understand but it's simple. You choose a category and then click on the button New Thread.