Is it possible....

Locked
Results 1 to 13 of 13
This thread is locked. New replies are disabled.
24 Oct 2008, 20:08
#1
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

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....
24 Oct 2008, 20:37
#2
richardkletty avatar

richardkletty

New Zenner

Join Date:
Oct 2008
Posts:
38
Plugin Contributions:
0

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.
25 Oct 2008, 01:45
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

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
25 Oct 2008, 02:25
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Is it possible....

RichardKletty:

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

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
20 Jul 2009, 00:20
#5
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Posts:
10,011
Plugin Contributions:
1

Re: Is it possible....

clydejones:

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

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)
20 Jul 2009, 03:04
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Is it possible....

DivaVocals:

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-->
}
20 Jul 2009, 03:34
#7
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Posts:
10,011
Plugin Contributions:
1

Re: Is it possible....

clydejones:

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.. :frusty: curses.. foiled again.. :laugh:
20 Jul 2009, 03:45
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Is it possible....

DivaVocals:

Arrghhh.. it didn't work.. :frusty: curses.. foiled again.. :laugh:


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-->
}
20 Jul 2009, 04:06
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Posts:
10,011
Plugin Contributions:
1

Re: Is it possible....

clydejones:

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..:smile: that didn't work either..
20 Jul 2009, 05:41
#10
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Is it possible....

DivaVocals:

Clyde.. You are a true gentleman.. bless you for helping..:smile: 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 } ?>
20 Jul 2009, 06:20
#11
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Posts:
10,011
Plugin Contributions:
1

Re: Is it possible....

clydejones:

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 } ?>
I could kiss you!!!:clap:

You are the BEST... thanks so much for the hand.. :smile:
20 Jul 2009, 06:41
#12
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Is it possible....

DivaVocals:

I could kiss you!!!:clap:

You are the BEST... thanks so much for the hand.. :smile:


Glad to help
28 Jul 2009, 20:01
#13
danglez avatar

danglez

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
1

Re: Is it possible....

Is it possible to place a hyphen between those categorie tabs?