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....
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.
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.
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!
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
and change it as follows: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-->
Save the file and upload to your serverCode: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--> }
Last edited by DivaVocals; 20 Jul 2009 at 01:24 AM.
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-->
}
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-->
}
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 } ?>
Bookmarks