Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Banner that wasn't on old Zen version help

Removing Banner that wasn't on old Zen version help

Locked

Views: 1,785

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Jun 2006, 1:57 PM
#1
dandownunder avatar

dandownunder

Zen Follower

Join Date:
Jan 2006
Location:
Portugal
Posts:
347
Plugin Contributions:
0

Removing Banner that wasn't on old Zen version help

Hi guys, I am moving my site over to another server to upgrade the Zen version, as my previous one was too old. I have one question, there is a new Banner on the new site and i can't see where it is to turn it on or off ? can anyone help

On this site it is here http://www.kobrawd.com/vidanova/
on my old site it looks like this: http://www.winesvidanova.com/shop/
It is the menu at the top that says Wines Clothing & Bags Wine Accessories anyone know how to scrap this ? underneath the main heading image.

Cheers
Dan.

6 Jun 2006, 3:10 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Removing Banner that wasn't on old Zen version help

In admin->configuration-> layout settings turn OFF category tabs

Zen cart PCI compliant Hosting

6 Jun 2006, 3:23 PM
#3
dandownunder avatar

dandownunder

Zen Follower

Join Date:
Jan 2006
Location:
Portugal
Posts:
347
Plugin Contributions:
0

Re: Removing Banner that wasn't on old Zen version help

Thanks Merlin, that sorted it.
BUT it has shown something else, I appear to have a small 'home' button lurking behind where it was now, any ideas ? : http://www.kobrawd.com/vidanova/

Cheers
Dan.

6 Jun 2006, 5:05 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Banner that wasn't on old Zen version help

That is the breadcrumb trail. It is showing only "Home" w/o link because that is your current page.

It should be possible to disable the breadcrumbs when you are on the home page. Look in tpl_main_page.php; in the top comments are directions for this.

* // example to not display right column on main page when Always Show Categories is OFF<br />
 * <br />
 * if ($current_page_base == 'index' and $cPath == '') {
 *  $flag_disable_right = true;
 * }

You could put that test in the breadcrumb section in tpl_main_page.php.
Add " and !($current_page_base == 'index' and $cPath == '')" to the existing test:

<!-- bof  breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' and !($current_page_base == 'index' and $cPath == ''))  { ?>

This only allows the breadcrumbs to execute when not on the home page.

7 Jun 2006, 9:19 PM
#5
dandownunder avatar

dandownunder

Zen Follower

Join Date:
Jan 2006
Location:
Portugal
Posts:
347
Plugin Contributions:
0

Re: Removing Banner that wasn't on old Zen version help

Hi Glen, thanks for that, so I just copy and paste the second bit of code there into my tpl_main_page.php and see if it works ?

Cheers
Dan.

7 Jun 2006, 10:36 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Banner that wasn't on old Zen version help

Essentially, yes.
Either paste the " and !($current_page_base == 'index' and $cPath == '')" bit into the right place in the ...DEFINE_BREADCRUMB... line, or replace the whole line with the line in the code box.