Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Is it possible....

    to remove the upper middle category links on all pages except the home page?

    Id sure like to know if its possible. Or even disable the entire header on all pages other than the home page.

    Thanks for the help....
    Last edited by RichardKletty; 24 Oct 2008 at 09:13 PM.

  2. #2
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Is it possible....

    Yes I just want to get rid of the category links on the middle top of the page and actually if I can get rid of them on every page that would be great. I dont even nee them on the home page since I have the links displayed below the top category list.

    Never mind, I got it... Its in the admin.
    Last edited by RichardKletty; 24 Oct 2008 at 09:41 PM.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Is it possible....

    Those Categories listed at the Top center of your header are the Category Tabs ...

    There is a setting in your Admin for this on the Configuration ... Layout Settings ...
    Categories-Tabs Menu ON/OFF
    Categories-Tabs
    This enables the display of your store's categories as a menu across the top of your header. There are many potential creative uses for this.
    0= Hide Categories Tabs
    1= Show Categories Tabs
    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!

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Is it possible....

    Quote Originally Posted by RichardKletty View Post
    Yes I just want to get rid of the category links on the middle top of the page and actually if I can get rid of them on every page that would be great. I dont even nee them on the home page since I have the links displayed below the top category list.

    Never mind, I got it... Its in the admin.
    If you want them to show only on the main page then open

    includes/templates/YOUR_TEMPLATE/common/tpl_header.php

    find the following section of code
    Code:
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    and change it as follows:

    Code:
    if ($this_is_home_page) {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }
    Save the file and upload to your server

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Is it possible....

    Quote Originally Posted by clydejones View Post
    If you want them to show only on the main page then open

    includes/templates/YOUR_TEMPLATE/common/tpl_header.php

    find the following section of code
    Code:
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    and change it as follows:

    Code:
    if ($this_is_home_page) {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }
    Save the file and upload to your server
    My apologies for bumping such and old post.. This is the closest solution I've found to what I would like to do..

    How would I apply this change to ONLY the Contact Us page?? (Turn off category tabs on the Contact Us page only)
    Last edited by DivaVocals; 20 Jul 2009 at 01:24 AM.

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Is it possible....

    Quote Originally Posted by DivaVocals View Post
    My apologies for bumping such and old post.. This is the closest solution I've found to what I would like to do..

    How would I apply this change to ONLY the Contact Us page?? (Turn off category tabs on the Contact Us page only)
    try this

    if ($currentpagebase != 'contact_us') {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Is it possible....

    Quote Originally Posted by clydejones View Post
    try this

    if ($currentpagebase != 'contact_us') {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }
    Arrghhh.. it didn't work.. curses.. foiled again..

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Is it possible....

    Quote Originally Posted by DivaVocals View Post
    Arrghhh.. it didn't work.. curses.. foiled again..
    my bad...


    if ($current_page_base != 'contact_us') {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Is it possible....

    Quote Originally Posted by clydejones View Post
    my bad...


    if ($current_page_base != 'contact_us') {
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    }
    Clyde.. You are a true gentleman.. bless you for helping.. that didn't work either..

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Is it possible....

    Quote Originally Posted by DivaVocals View Post
    Clyde.. You are a true gentleman.. bless you for helping.. that didn't work either..

    Ok one more time:

    <?php if ($current_page_base != 'contact_us') { ?>
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    <?php } ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is it possible?
    By hamid84 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 May 2010, 06:33 PM
  2. Is it Possible to...
    By neparker in forum General Questions
    Replies: 1
    Last Post: 29 Aug 2009, 06:20 AM
  3. Is it possible...
    By netfuxor in forum General Questions
    Replies: 8
    Last Post: 11 Apr 2009, 04:12 PM
  4. Possible ?
    By joenathan in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 16 Apr 2008, 05:06 AM
  5. Is it possible to;
    By klmekaro in forum General Questions
    Replies: 0
    Last Post: 24 Dec 2007, 05:12 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR