Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,646

Results 1,341 to 1,360 of 2,268
29 Apr 2010, 12:49 PM
#1341
gjh42 avatar

gjh42

Black Belt

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

Categories Dressing

What is your setting for Configuration > Layout Settings > Categories - Always show on Main Page ?
Or perhaps Configuration > Product Listing > Show subcategories when navigating.

You can adjust what levels of categories show in the sidebox with CAT_ACTIVE_LEVEL_MANAGE in categories_dressing_defines.php (see the readme for more info).

29 Apr 2010, 8:12 PM
#1342
sidewing avatar

sidewing

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

What is your setting for Configuration > Layout Settings > Categories - Always show on Main Page ?
Or perhaps Configuration > Product Listing > Show subcategories when navigating.

You can adjust what levels of categories show in the sidebox with CAT_ACTIVE_LEVEL_MANAGE in categories_dressing_defines.php (see the readme for more info).

the layout -> always show on main page is set to 0 but i tried changing to 1 and it made no difference at all... the other show subcats when navigating is on... i vaguely recall there was a bug that it didnt show sub categories in the main area when the main category was clicked if there was not an image set on the sub category... i wonder if this is the issue...

ideally i'd like it to just say diaper cakes on the left category list... no sub categories, even when clicked... when diaper cakes is clicked i want it to open it as it does, but i want it to show the sub categories in the middle main area only... i will mess with the cat_active_level_manage and im sure i can get that part going, i just cant figure out why sub categories (boys girls neutral) arent showing in the main center part when main category (diaper cakes) is opened

4 May 2010, 3:15 AM
#1343
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The subcategory listing in the center is not affected in any way by Categories Dressing or the categories sidebox. If you recall a bug related to image settings, you might try assigning some test images to subcats and see if that helps. If it does, it can be worked around. If not, it might be a template issue, better handled in a new thread.

4 May 2010, 9:13 PM
#1344
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

techiegirl -

Since your categories sidebox will only contain one subcategory's links, you can use the catGroup id to give it all a unique bg color. Like this:

#catGroup2_16_17 {background: #ff1122;}

This needs other rules to support it and let it work:```
#categories {padding: 0;}

#categoriesHeading {display: none;}

#categories #catBoxDivider {display: none;} /*turn off Config > Layout Settings > Cat. Separator between links, & delete this rule */

#categoriesContent, #categories ul, #categories ul li, #categories ul ul {
list-style: none;
background: none;
padding: 0;
margin: 0;
}

#categories ul li a {background: none;}

#categories ul#catGroup2_16_17 {background: #ff1122; height: 388px;}

#categories ul#catGroup2_24_25 {background: #22ff33; height: 388px;}


Since you are not using the chcategories option, you should delete stylesheet_chcategories_dressing.css, or rename it to stylesheet_chcategories_dressing.bak, so it does not confuse the styling.
5 May 2010, 6:55 PM
#1345
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Categories Dressing

--Totally Zenned

Thanks so much for the code to change the sidebox background color when selecting a subcategory! It worked perfectly! :clap:

I initially thought I would need to update the PHP code and the style, but it was much simpler.

I'm assuming to change the font color and location and spacing I would do the same thing with the styles.

Thanks again, I really appreciate it!

~techiegirl

5 May 2010, 7:28 PM
#1346
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

If you want font properties to change for each subcat, yes you would add rules similar to the ones I posted for each subcat. If you want all of them to have a certain setting, you can put it in one or two rules in the main section of the Cat Dressing stylesheet.

7 May 2010, 6:13 PM
#1347
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Re: Categories Dressing

gjh42
So I've got the font styles created to change the font color, however, I cannot seem to increase the padding before the top of the category list. I want there to be a little space before the subcategory "Apparel" starts.

Right now when I increase the margin or padding the space in between each sub is increased only.

This should be really simple, and I don't know what I'm doing wrong! :frusty:

7 May 2010, 6:26 PM
#1348
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You would want to increase padding-top: in each main group, like

#categories ul#catGroup2_16_17 {padding-top: 2.0em;}

8 May 2010, 6:42 PM
#1349
sw09 avatar

sw09

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Re: Categories Dressing

I am a newbie and I have been searching everywhere from the forum but I still cannot find an answer. I hope someone can help.
I wanted to remove my left category sidebox border and background. I try to edit the css but its still the same. I have try to use categories dressing but I did not see any changes from my site.
I try to add another new sidebox and style it from there but still cannot. I have been struggling for weeks. I really hope someone can help.

My website http://www.bruneipartyshop.com:cry:

9 May 2010, 5:45 PM
#1350
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Categories Dressing

Ok,,, an embrasinly simple question, but one that I cannot workout!!

I have category dressing installed (1.3.9b).. all is great but I cannot for the life of me work out one tiny thing..

I want my top level categories to have the bullet and for that bullet to change when a top -level category is open to display the sub categories. As is when this mod is first installed. But I dont want sub-level categories to have any bullets at all! And I cannot work it out...

I either have all bullets or no bullets....

someone please help, im properly stuck!

9 May 2010, 6:01 PM
#1351
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Categories Dressing

doesnt matter... sussed it

#categories ul ul a {/subcategories/
display: list-item;
list-style: none;
background: #ffddbb;
border: none;
margin: 0;
padding: 0;
}

11 May 2010, 3:36 AM
#1352
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Yep... lots of things are really simple to do if you know CSS. I can't include all of them in the readme, as it's already long enough that it confuses some people, even with big headings for each section.

11 May 2010, 4:14 PM
#1353
sw09 avatar

sw09

New Zenner

Join Date:
Mar 2010
Posts:
8
Plugin Contributions:
0

Re: Categories Dressing

Shane78:

doesnt matter... sussed it

#categories ul ul a {/subcategories/
display: list-item;
list-style: none;
background: #ffddbb;
border: none;
margin: 0;
padding: 0;
}

I have try but still no changes. I attached here my stylesheet.Its too long. I copied starting from the sidebox and then the category. I have check thru the tpl categories and I find it the div class is "sideBoxContent", does it matter. Or is it the tpl_box_default_left.:dontgetit

/sideboxes/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1em;
color: #ffffff;
}
#manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading {
font-size: 0.9em;
color: #ffffff;
}

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
margin: 0em;
background-color: #ffbd00;
padding: 0.5em 0.2em;
}

.leftBoxContainer_, .rightBoxContainer_ {
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
margin-top: 1.5em;
}

.sideBoxContent {
background-color: #ffffcc;
padding: 0.4em;
}

h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
color: #FFFF33;
text-decoration: none;
}

.rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
color: #FFFFFF;
}

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}

#bestsellers .wrapper {
margin: 0em 0em 0em 1.5em;
}

#bestsellers ol {
padding: 0;
margin-left: 1.1em;
}

#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
}

#bannerboxHeading {
background-color: #ffbd00;
}

#upProductsHeading {
text-align: left;
}

#upDateHeading {
text-align: right;
}

/* categories box parent and child categories */

A.category-top, A.category-top:visited {
color: #008000;
text-decoration: none;
}
A.category-links, A.category-links:visited {
color: #004080;
text-decoration: none;
}
A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited {
color: #FF0000;
text-decoration: none;
}
SPAN.category-subs-parent {
font-weight: bold;
}
SPAN.category-subs-selected {
font-weight: bold;
}
/* end categories box links */

12 May 2010, 12:51 PM
#1354
monsunemoon avatar

monsunemoon

New Zenner

Join Date:
Jan 2010
Posts:
27
Plugin Contributions:
0

Re: Categories Dressing

I need a some help please. On my test site here:

http://www.mygamedemos.com/store/index.php?main_page=index&cPath=82

You'll see that I have the categories uncollapsed with ch_categories. However, I added the "Bee Royal" category with products in it. This category isn't uncollapsed like the other 2 (which I added a while ago). How do I un-collapse the "Bee Royal" category too / make newly added categories uncolapse too?

Thanks

:clap:

12 May 2010, 3:43 PM
#1355
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Monsunemoon - You only have two products and no subcategories in Bee Royal, so there is nothing to uncollapse. If you want subcategories, move the products to another category, create your subcats and move the products back to those subcats.

12 May 2010, 3:57 PM
#1356
monsunemoon avatar

monsunemoon

New Zenner

Join Date:
Jan 2010
Posts:
27
Plugin Contributions:
0

Re: Categories Dressing

Thanks Glenn, I hadn't used it in a while and forgot that you had to put products in categories.

12 May 2010, 4:01 PM
#1357
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Sw09 - You do not have Categories Dressing active on your site, so nothing in this thread is likely to be of use to you. This mod is not intended to affect the sidebox borders or background.
To change the styling just for the categories sidebox, make rules for

#categories {}
#categoriesHeading {}
#categoriesContent {}

with appropriate properties in each rule.

14 May 2010, 9:26 PM
#1358
lj111970 avatar

lj111970

New Zenner

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

Re: Categories Dressing

PLEASE can you help me - I am going blind from looking at code and I'm sure the answer is right in front of me but I am missing it.:cry:
I am reinstalling my site and have update my version of Zen cart to the latest (did this 2 days ago).
I added this mod categories_dressing_2-7-3 and have managed to do some customizing but am stumped at something.
Here is my site (under construction)
http://ljgdesign.com
You will see my categories on the left side.

  • I only want the one divider line above the link heading - how do i remove the other's?

  • Also, where do I find the text "Link Heading" to modify it - I have looked all over the place and can't find it.

  • one last thing...see the arrow that I put in that points to the sub categories? I did that last year - Any idea where that is? I would love to remove it lol

Thanks so much for any help you can offer. I really appreciate it and am sorry to bother you.

14 May 2010, 9:45 PM
#1359
lj111970 avatar

lj111970

New Zenner

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

Re: Categories Dressing

My includes/languages/english/extra definitions/my folder/categories_dressing_defines.php
file looks like this

<?php
/**
*
* @copyright Copyright 2009 Glenn Herbert
* @copyright Portions Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.gnu.org/licenses/ GNU Public License V3.0
* Categories Dressing v2.7.3 - Glenn Herbert (gjh42) - 20090505
* includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php
*/

//example defines - copy & modify for each category desired
define ('CAT_BOX_HEADING_#','group|divider/class|[imgname]|[imgalt][|headcontent|headclass][|headcontent|headclass]...');
define ('CAT_BOX_HEADING_1','1|0||');//new list - no headings
//define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2
//define ('CAT_BOX_HEADING_23','0|0|||Another Heading|2');//no list break - divider and text heading - style 2
//define ('CAT_BOX_HEADING_33_34','0|0|||Subcat Heading|3');//simple text heading - style 3
//define ('CAT_BOX_HEADING_48','1|0|cathead48.gif|Cat 48 Heading|Buy Now...|3');//image heading and alt text - can be followed by text heading(s)
//define ('CAT_BOX_HEADING_52','0|1||');//divider only - style 1
//define ('CAT_BOX_HEADING_53','0|2||');//divider only - style 2
//define ('CAT_BOX_HEADING_FEATURED','0|0|||Featured Heading|3');//no list break - text heading

//
//display only the active top category and its subs, hide top cats, hide sub-subcats, or any combination.
//only uncomment and set this define if you want to hide cats based on active tree or level
// 'active|highest_level|deepest_level'
//active: 0=all tops/1=full active tree only/2=active only (all tops when no cat selected)/
//3=full active tree, others per level/4=like 3, active branches only/5=like 1, no tops|
//highest_level: 0=all levels/1=no topcats/etc.|
//deepest_level: 1=only first subcats/2=first & second subcats/etc.
//
//define('CAT_BOX_ACTIVE_LEVEL', '0|1|9');//hide top cats
//define('CAT_BOX_ACTIVE_LEVEL', '1|0|1');//show only active cats, to first subcat level
?>

lj111970:

PLEASE can you help me - I am going blind from looking at code and I'm sure the answer is right in front of me but I am missing it.:cry:
I am reinstalling my site and have update my version of Zen cart to the latest (did this 2 days ago).
I added this mod categories_dressing_2-7-3 and have managed to do some customizing but am stumped at something.
Here is my site (under construction)
http://ljgdesign.com
You will see my categories on the left side.

  • I only want the one divider line above the link heading - how do i remove the other's?

  • Also, where do I find the text "Link Heading" to modify it - I have looked all over the place and can't find it.

  • one last thing...see the arrow that I put in that points to the sub categories? I did that last year - Any idea where that is? I would love to remove it lol

Thanks so much for any help you can offer. I really appreciate it and am sorry to bother you.

14 May 2010, 10:53 PM
#1360
lj111970 avatar

lj111970

New Zenner

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

Re: Categories Dressing

ok - I managed to remove the divider lines but still wondering about the stupid arrow and the text "Link Heading "

Thanks