Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Location
    Portugal
    Posts
    377
    Plugin Contributions
    1

    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.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default 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

  3. #3
    Join Date
    Jan 2006
    Location
    Portugal
    Posts
    377
    Plugin Contributions
    1

    Default 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.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

    Code:
    * // 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:

    Code:
    <!-- 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.

  5. #5
    Join Date
    Jan 2006
    Location
    Portugal
    Posts
    377
    Plugin Contributions
    1

    Default 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.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

 

 

Similar Threads

  1. Ye Old Upgrade - Archiving and Removing Old Data, etc.
    By chadderuski in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 4 Sep 2012, 08:25 AM
  2. Concerning that ugly old top banner
    By sofasurfer in forum Basic Configuration
    Replies: 5
    Last Post: 18 Apr 2011, 06:37 PM
  3. mySQL error with YourPay gateway using old version of Zen Cart
    By apathy in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 10 May 2008, 04:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg