Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,646

Results 1,361 to 1,380 of 2,268
17 May 2010, 2:05 PM
#1361
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Categories Dressing

The arrow is part of the standard Zen Cart sidebox, and can be redefined to blank in
Configuration > Layout Settings >
Categories Separator between the Category Name and Count

The readme.html describes how to turn off each feature if you don't need it. You appear to have found the way to turn off the link heading (comment out or delete its define statement in categories_dressing_defines.php).

17 May 2010, 2:09 PM
#1362
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

In stylesheet_categories_dressing.css AND stylesheet.css, do I need to change ALL #categories to #chcategories for the styling to take affect? Little confused there.

I do have ch_categories installed (not the one included with Categories Dressing - I installed ch_categories first).

17 May 2010, 3:04 PM
#1363
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

If you are using ch_categories, you need to use the alternate stylesheet_chcategories_dressing.css included with Categories Dressing. Most of the category rules in the standard stylesheet are not applicable to a site using either form of Categories Dressing, so it doesn't matter what you do with them.
It doesn't matter which copy of ch_categories you use, as both are the same.

17 May 2010, 3:14 PM
#1364
lj111970 avatar

lj111970

New Zenner

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
97
Plugin Contributions:
0

Re: Categories Dressing

Thanks so much - I knew the arrow was something simple but for the life of me could not find it.
Thanks again

gjh42:

The arrow is part of the standard Zen Cart sidebox, and can be redefined to blank in
Configuration > Layout Settings >
Categories Separator between the Category Name and Count

The readme.html describes how to turn off each feature if you don't need it. You appear to have found the way to turn off the link heading (comment out or delete its define statement in categories_dressing_defines.php).

17 May 2010, 5:22 PM
#1365
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

If you are using ch_categories, you need to use the alternate stylesheet_chcategories_dressing.css included with Categories Dressing. Most of the category rules in the standard stylesheet are not applicable to a site using either form of Categories Dressing, so it doesn't matter what you do with them.
It doesn't matter which copy of ch_categories you use, as both are the same.

Thank you!

17 May 2010, 5:30 PM
#1366
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

In category_dressing_defines.php, is there a way to have only the top level cats and 1st level sub-cats display only?

Couple of my cats have 2 and 3 sub cats, which are displaying :(

17 May 2010, 6:24 PM
#1367
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

autoace:

In category_dressing_defines.php, is there a way to have only the top level cats and 1st level sub-cats display only?

Couple of my cats have 2 and 3 sub cats, which are displaying :(

OR is there a css definition that I can simply comment out?

17 May 2010, 6:27 PM
#1368
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

That's what
define('CAT_BOX_ACTIVE_LEVEL', '0|1|9');
is for.

// 'active|highest_level|deepest_level'
//active: 0=all cats, level control/1=full active tree only/2=active only (all cats per level when no cat selected)/
//3=full active tree, others per level/4=like 3, active branches only/5=like 1, no tops/6=like 2, active branches only|
//highest_level: 0=all levels/1=no topcats/etc.|
//deepest_level: 1=only first subcats/2=first & second subcats/etc.
//
(This is slightly different from the v2.7.3 copy of the file, but the highest and deepest level settings will work the same.)
You would want a setting of '0|0|1'.

17 May 2010, 7:08 PM
#1369
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

Glenn,

Thank you. I've been reading it just didn't fully understand it. Your post turned on the 'light'.

Absolutely great mod by the way!!!

17 May 2010, 7:12 PM
#1370
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

One last thing, some of my sub cat titles are somewhat long and continue on the line below - no big deal, except they are not even with the line above. The bottom line is more to the left than the top line.

I'm assuming that to fix that I should play with the padding for #chcategories ul ul a, is that correct?

18 May 2010, 10:41 AM
#1371
pb4 avatar

pb4

Totally Zenned

Join Date:
Nov 2007
Posts:
555
Plugin Contributions:
0

Re: Categories Dressing

Hi, I had this all sorted but have since messed it up with a database import :cry:

Having only done this once before how I did it has not stuck! I'm getting there (slowly) but have some issues.

Please see the site here:

http://www.ampmgraphics.com/demo/

I have the three sections and three styles going ok. The problems I have is that the top three (business card design, etc) should be the first three under Design. What should I do to change this?

Second:

Web design (currently bottom of the Printing section) should be the first under Web. What do I do to change this?

Thanks for your help with this..gutted I have to re-do this:cry:

18 May 2010, 12:30 PM
#1372
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

autoace - You may want a negative text-indent, or perhaps in admin you should set Configuration > Layout Settings > Categories separator between subcategories to blank (remove hard-coded indent spaces).

pb4 - To get the first three categories in the "Design" group, change the define from 'CAT_BOX_HEADING_107' to 'CAT_BOX_HEADING_103'.
Looks like you have the Web Design ok now.

18 May 2010, 12:33 PM
#1373
pb4 avatar

pb4

Totally Zenned

Join Date:
Nov 2007
Posts:
555
Plugin Contributions:
0

Re: Categories Dressing

Hi Glenn,

Thanks for that...I was just about getting my head back around it again!

Love this addon :smile:

18 May 2010, 4:42 PM
#1374
alepia avatar

alepia

Zen Follower

Join Date:
Dec 2008
Posts:
158
Plugin Contributions:
0

Re: Categories Dressing

Hello
I just wanted to change the font colour for one category only and the other I want to leave them as they are.
What should I do?

The Cpath of my category is 39

thank you!!:lamo:

18 May 2010, 5:36 PM
#1375
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Categories Dressing

Thanks, I will try those options.

18 May 2010, 5:52 PM
#1376
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

alepia - If you use Categories Dressing (which you currently are not), you can define a group for that category and a different group for the following category, and style the first group with the desired color.

The stock categories sidebox you have has instructions in the comments in
/includes/templates/your_template/sideboxes/tpl_categories.php
for making a single category differently styled.

20 May 2010, 3:22 PM
#1377
hitcher avatar

hitcher

New Zenner

Join Date:
May 2010
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

Hi,

How do you activate the chcategories sidebox as there is no readme_ch_categories.txt file in the package?
Have installed as per instructions in readme2_7_3 file but new item is not showing up in Admin > Configuration > Layout Settings as detailed under "To display images in place of selected category names:"

Thanks

20 May 2010, 3:43 PM
#1378
hitcher avatar

hitcher

New Zenner

Join Date:
May 2010
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

Just got it working. Searched through the thread for some clues and found this is where is being activated Tools > Layout Boxes Controller, that was not mentioned in readme file. I'm new to Zen so sorry if my querry was too easy for you :)

20 May 2010, 3:56 PM
#1379
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

readme_ch_categories.txt:```
/*

  • Replacement Category Tree for Zen Cart Shop System
  • Christoph Handel 2007-06-10
  • [email protected]
  • Changelog:
  • 2005-06-12 initial release
  • 2007-06-10 update for zencart 1.3.x
    */

This is a replacement for the Category-Tree Sidebox included in Zencart 1.3.x

It will always display uncollapse all Tree Nodes.

Other than that it has the same functionallity. It uses the same configuration
variables, templates, ... as the original category tree.

= Installation =

Place the two files in the directories indicated by the
folder-structure.

ch_categories_tree_generator.php goes to $SHOP_ROOT/includes/classes/
ch_categories.php goes to $SHOP_ROOT/includes/modules/sideboxes/

Go to the Zen admin interface, Tools, layout boxes controller and add
ch_categories. Turn off the original categories

The Layout Settings page has nothing to do with ch_categories.
20 May 2010, 4:01 PM
#1380
hitcher avatar

hitcher

New Zenner

Join Date:
May 2010
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

Thank you, that was a quick reply.