Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,642

Results 1,441 to 1,460 of 2,268
21 Jun 2010, 5:04 PM
#1441
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Categories Dressing

Thanks Glenn, that's did it, but how do I give this new category an individual style name so I can add bottom padding to push it up into the group above?

21 Jun 2010, 5:32 PM
#1442
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Categories Dressing

Also, how do I get this new "Hire Products ..." category to take on the exact same properties of "All Products" and "New Products" so the highlighted font doesn't get larger and the bullet point doesn't change (when selected)?

21 Jun 2010, 7:56 PM
#1443
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Categories Dressing

It's OK Glen, I figured this out. I added this to the define file:

define ('CAT_BOX_HEADING_349','2|0||');//new list - no headings

Then I added this to the stylesheet:

#catGroup349 {
bottom:5px;
position:relative;
}

#chcategories li a.cat-selected-text, #chcategories ul ul li a.cat-parent-text {
list-style: square inside url(../images/bullet1.gif);/change to list-style: none; to remove bullet/
font-size:0.9em;
font-weight:bold;
position: static;
}

No doubt you'd have done it differently, but it's working at least :)

23 Jun 2010, 1:45 AM
#1444
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Looks like a good way of doing it. You probably didn't even need the new define, since the first actual category in the box starts a catGroup numbered for it by default.

24 Jul 2010, 2:12 AM
#1445
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Categories Dressing

Hi there,

Just a quick question. I have managed to set images as categories for up to two levels but after that the module does not allow me.

Everything is done the same way but nothing. For example I have

catBg22 - ok
catBg22_23 -ok
catBg22_23_26 - does not work
catBg22_23_26_53 - does not work

The only thing is that on the 3 and 4 level I have not defined images for all the categories there as I am trying to play a bit around with styling.

So my questions are:
Is there a limit on the number of levels that the module can handle?
Is there a requirement for all categories in a level to have an image defined otherwise the module will not work?

Thank you for the excellent module by the way :-)

Tassos

26 Jul 2010, 2:22 PM
#1446
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You don't need to have images defined (named and saved) for all categories; they will work for any category at any level, but since the image replacement depends on the existence of the correctly named image file, you must have the image for that category.

If you need any more help, I probably need to see your site to know what you have.

Just in case it is relevant to you, the image file needs to be all lowercase: catbg#.gif, not catBg#gif.

26 Jul 2010, 11:41 PM
#1447
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Categories Dressing

Hi Glenn,

I thought that the images need to be defined as this is the only way that I manage to get the rest working. All the images are correctly named I think as the rest works.

You can see the web site here: http://isoren.2525.gr

Thanks
Tassos

27 Jul 2010, 12:22 AM
#1448
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Did you know that all three of your versions of the Categories Dressing stylesheet are active? They are applied in alphabetical order, so
stylesheet_chcategories_dressing.css
is overridden by
stylesheet_chcategories_dressing1.css
and
stylesheet_chcategories_dressinga.css
where they conflict.

If you need to save backup copies, name them like stylesheet_chcategories_dressing.bak so they will not be applied, or save them somewhere else entirely.

For your images, it is not enough to make a stylesheet entry for them; they must actually exist as files with that name in that location. For the correct CSS

#chcategories li a.catBg22_23_27 {
background-image: url(../buttons/greek/catbg22_23_27.gif);
height: 26px;
}

when trying to look at the image I get

"The requested URL /includes/templates/iC_AthemeV1.3/buttons/greek/catbg22_23_27.gif was not found on this server."

27 Jul 2010, 1:32 AM
#1449
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Categories Dressing

Hi Glenn,

Thank you for pointing me to the right direction and sorry for wasting your time. I had so many stupid mistakes/inconsistencies that's just no funny :-( and probably indication that I am slowly but surely getting old :-)

For everyone else always remember to triple check image names/folders etc. As always the simplest mistakes are the hardest to find :-)

Thanks again for the great module

Regards

Tassos

29 Jul 2010, 7:23 PM
#1450
halollet avatar

halollet

New Zenner

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

Re: Categories Dressing

Hey! Just got this mod and it looks really promising.

The only problem is, is that its not working.

I uploaded it, all the your_templates are changed

In categories_dressing_defines.php I have tried
define ('CAT_BOX_HEADING_15','0|0|||Featured Heading|3');
define ('CAT_BOX_HEADING_15','0|0|catMenuSwirlTop.png|');

and nothing works, nothing shows up.

Did I miss a step?

29 Jul 2010, 7:46 PM
#1451
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You have defined a heading for the same category (category id 15) twice, but only the first define will be processed. I need to see your site to tell what you have and where the problem might be.

29 Jul 2010, 8:10 PM
#1452
halollet avatar

halollet

New Zenner

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

Re: Categories Dressing

gjh42:

You have defined a heading for the same category (category id 15) twice, but only the first define will be processed. I need to see your site to tell what you have and where the problem might be.

I only tried one at a time, but neither worked.

https://www.satinwoods.ca/cart/

Thanks

29 Jul 2010, 9:11 PM
#1453
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Are you currently wanting catMenuSwirlTop.png to show above category 15 (Summer Tops)? Where do you have that image saved?

29 Jul 2010, 9:15 PM
#1454
halollet avatar

halollet

New Zenner

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

Re: Categories Dressing

/includes/templates/satinBlack/images/

31 Jul 2010, 6:41 PM
#1455
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

In order for the headings and category images to adjust to multiple languages, they must be saved in the /buttons/language/ folder, not the /images/ folder, like this:

/includes/templates/iC_AthemeV1.3/buttons/greek/catbg22_23_27.gif

This is described in detail in the readme.

31 Jul 2010, 11:09 PM
#1456
halollet avatar

halollet

New Zenner

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

Re: Categories Dressing

gjh42:

In order for the headings and category images to adjust to multiple languages, they must be saved in the /buttons/language/ folder, not the /images/ folder, like this:

/includes/templates/iC_AthemeV1.3/buttons/greek/catbg22_23_27.gif

This is described in detail in the readme.

...
I... already did that, the image is saved in
includes/templates/satinBlack/buttons/english/catMenuSwirlTop.png

So that's not it....:(

31 Jul 2010, 11:13 PM
#1457
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Then I don't know what the problem could be without seeing more of your current settings...

Unfortunately, I am about to leave for a two week business trip and will be offline for a while. I'll check in when I return.

5 Aug 2010, 7:42 PM
#1458
tcjay avatar

tcjay

Zen Follower

Join Date:
Jul 2010
Location:
Boston
Posts:
139
Plugin Contributions:
0

Re: Categories Dressing

I am new to Category Dressing and trying to get a grasp of it. I apologize if this question has been asked.

I have this code that appears in my web page.

<li class="cat-top"><a class="cat-selected" href="http://www.stitchboutiqueboston.com/index.php?main_page=index&cPath=3"><img src="includes/templates/stitchboutique/buttons/english/catimg3.gif" alt="" width="140" height="22" title="Fibers" /></a></li>

What do I need to change so that catimg3.gif does not appear for cPath=3. TIA TOM :cool:

19 Aug 2010, 9:11 PM
#1459
gomlers avatar

gomlers

Zen Follower

Join Date:
Aug 2008
Posts:
139
Plugin Contributions:
0

Re: Categories Dressing

Thank you for a great mod!

I have one question though, hope someone can help with this:

I have a 3 level system:

-Top cat1
--Sub cat2
---Sub sub cat3
---Sub sub cat3
---Sub sub cat3

Not all Sub cats2 include a sub-sub-cat3, and therefore I would like to Show only Top-cats1 and Sub-cats2 by default, and then open up the Sub-sub-cats3 only when a customer clicks on it.

If a sub sub cat is open, then only show the sub sub cat which is open and not all the sub-sub-cats.

EASIER: I want it exactly like this: https://www.tilbryllupet.no

Is there a way to do this?

I really tried to read your define-explanation, but sorry - I didn't get the hang of it.

20 Aug 2010, 12:08 AM
#1460
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

tcjay - Just delete the demo image catimg3.gif from /includes/templates/your_template/buttons/english/.

Gomlers - You want to use the chcategories option as described in the readme, and set the define to show top and first-level subcats, plus the active sub-subcat branches. This will be

define('CAT_BOX_ACTIVE_LEVEL', '4|0|1');

* The "active" field controls whether categories outside the current active tree will display: 0=all tops/1=full active tree only/2=active tree only (all tops when no cat selected)/3=full active tree, others limited per level controls/4=like 3, active branches only/5=like 1, no tops.
* The "highest_level" field controls whether top categories will display: 0=all levels/1=no topcats/etc.
* The "deepest_level" field controls whether subcategories will display: 1=only first subcats/2=first & second subcats/.../9=all levels down to 9.