Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How can I remove Category names in the main window?

How can I remove Category names in the main window?

Locked

Views: 4,893

Results 21 to 29 of 29
This thread is locked. New replies are disabled.
5 Aug 2010, 9:54 PM
#21
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

How can I remove Category names in the main window?

// require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');

change back to:

require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');

Vger

11 Aug 2010, 12:34 PM
#22
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How can I remove Category names in the main window?

Vger:

// require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');

change back to:

require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');

Vger

Thank you, however, I searched for this in developer tool and there was no result so I check the files for the same code without the // and this code active not commented out. Is there something else which could be missing?

11 Aug 2010, 4:24 PM
#23
ajeh avatar

ajeh

Oba-san

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

Re: How can I remove Category names in the main window?

Could you try a search, in the Developers Tool Kit, for:
category_row

Are you finding anything commented out?

12 Aug 2010, 3:02 PM
#24
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How can I remove Category names in the main window?

Nope, 6 page results but nothing commented out. This leads be to beleive something was removed rather than commended out.

21 Oct 2010, 5:45 PM
#25
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How can I remove Category names in the main window?

I figured it out! I had forgotten I had made a custom copy of the file with this section of code completely removed. To fix it I just deleted the custom file.

:smile: Beep

26 Oct 2010, 4:32 PM
#26
danilyn22 avatar

danilyn22

Zen Follower

Join Date:
Dec 2008
Location:
California
Posts:
102
Plugin Contributions:
0

Re: How can I remove Category names in the main window?

I have just the opposite problem. I want the sub-categories to show up on the main page when I click the main category.

I am on version 1.3.9g

I have set "show categories on main page" set to 1
I have Show Sub-categories also set to show and they show up in the Category box.

When I click on the main category I see the sub-category in the side box but they do not show up on the main page. I checked the code referenced above and all seems well.

I know that it is something simple, i have hda two cups of coffee and I can not find it.

Help!

26 Oct 2010, 4:48 PM
#27
ajeh avatar

ajeh

Oba-san

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

Re: How can I remove Category names in the main window?

Check the setting in the Configuration ... Index Listing ...

Show SubCategories on Main Page while navigating
Show Sub-Categories on Main Page while navigating through Categories

0= off
1= on

26 Oct 2010, 7:23 PM
#28
danilyn22 avatar

danilyn22

Zen Follower

Join Date:
Dec 2008
Location:
California
Posts:
102
Plugin Contributions:
0

Re: How can I remove Category names in the main window?

Hi Linda.

Thanks for replying. I was not able to locate either of those setting in the config/index listing but I was able to figure out what was wrong!

I was moving categories and had placed a subcategory into a category with product while I was working on it. I had not yet finished and that what was causing the subcategories from not showing. As soon as I moved the rest of the product out of the main category and into the new category it was fixed. It was one of those wacky goofy things that happen when you put a subcategory into a category containing product!!

26 Oct 2010, 7:29 PM
#29
ajeh avatar

ajeh

Oba-san

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

Re: How can I remove Category names in the main window?

Thanks for the update that you resolved the problem and for pointing out an issue with what happens if you try to have Products and Categories in a Category ... :smile: