Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,649

Results 1,121 to 1,140 of 2,268
24 Dec 2009, 7:20 PM
#1121
digulu avatar

digulu

New Zenner

Join Date:
Dec 2009
Posts:
43
Plugin Contributions:
0

Categories Dressing

I have Version 1.3.8a
I bought a TemplateMonster called my_template. Everything is working fine. Now
I would like to use Category Dressing Module so I can use Uncollapsed Categories Tree.

I am missing some of the folder. The installation is asking for
/includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php
and
/includes/modules/sideboxes/your_template/ch_categories.php

I dont' have your_template. I mean I bought a TemplateMonster Template (call mytemplate)

I have /includes/modules/sideboxes/classic but it is empty

my template is located /includes/modules/mytemplate
and /includes/templates/mytemplate/

What do I do?

Thank you
:ohmy:

24 Dec 2009, 11:34 PM
#1122
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

weber -
By "all the tree" do you mean the active top cat and all its subs? And what do you want to show when no category is active?

yes, no selection then top cates.

any how i like this mode, but still no idea how to play with it behaviors(not css part, but the logic for cates displaying)

25 Dec 2009, 2:10 AM
#1123
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

There are about five different category display settings in categories_dressing_defines.php, so you can just try them one by one and see if you like the result. They are described briefly in the readme and the file comments, so you should have an idea of what to expect. Try option 2 for top cats when there is no selection.

It is always possible to create a new type of display logic in categories_dressing_functions.php if you know PHP.

27 Dec 2009, 2:31 AM
#1124
digulu avatar

digulu

New Zenner

Join Date:
Dec 2009
Posts:
43
Plugin Contributions:
0

Re: Categories Dressing

I asked my question earlier but I didn't write it clearly.

Could you guys please help?

I am a Sr Linux Admin. (so I really understands the installation steps )
I have Version 1.3.8a Zecart and TemplateMonster installed.
(TM001). Everything is working fine.

However, I would like to use Category Dressing Module so I can use Uncollapsed Categories Tree and Category Dressing Feature.

The Category Dressing installation is asking for
"
/includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php
.
/includes/modules/sideboxes/your_template/ch_categories.php"

My TM001 is located in a different directory/folder path.
"/includes/modules/TM001"
and " /includes/templates/TM001/"

Is this case how will I able to install Category Dressing ?

"/includes/modules/sideboxes/classic" is empty

What do I do?

Thank you
:unsure:

27 Dec 2009, 5:50 AM
#1125
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

There are about five different category display settings in categories_dressing_defines.php, so you can just try them one by one and see if you like the result. They are described briefly in the readme and the file comments, so you should have an idea of what to expect. Try option 2 for top cats when there is no selection.

It is always possible to create a new type of display logic in categories_dressing_functions.php if you know PHP.

i found 'one problem'.

on product_info page, the active categories will collapse... i believe that you lost cPath on product info page?

27 Dec 2009, 7:12 AM
#1126
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

one more question, with the ch_categories sidebox, how to css markup the active top cate?

27 Dec 2009, 7:20 AM
#1127
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

digulu - You would use your TM template foldername in place of "your_template".

/includes/languages/english/extra_definitions/TM_001/categories_dressing_defines.php
/includes/modules/sideboxes/TM_001/ch_categories.php

weber - If you have navigated to the product info page through categories/subcategories, Zen Cart by default will have a cPath in the URL. Some SEO mods may eliminate that and may not show how you got there, meaning that if the product is linked to two categories it is not possible to know the active category. A link to see your site will make it easier to advise on this problem.

27 Dec 2009, 7:32 AM
#1128
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

/*change  bullet/styling when a top category w/o bg image is open to subs:*/
#categories li.cat-top a.cat-parent-text {
    list-style: square inside url(../images/bullet2.gif);/*change to list-style: none; to remove bullet*/
    font-weight: bold;/*or any other styling desired*/
    }

/*change  bullet/styling when a top category w/o bg image is open to products:*/
#categories li.cat-top a.cat-selected-text {
    list-style: square inside url(../images/bullet3.gif);/*change to list-style: none; to remove bullet*/
    font-weight: bold;/*or any other styling desired*/
    }
28 Dec 2009, 4:26 AM
#1129
digulu avatar

digulu

New Zenner

Join Date:
Dec 2009
Posts:
43
Plugin Contributions:
0

Re: Categories Dressing

Hi gjh42
Thank you for your reply.!

digulu - You would use your TM template foldername in place of >"your_template".
/includes/languages/english/extra_definitions/TM_001/categories_dressing_defines.php
/includes/modules/sideboxes/TM_001/ch_categories.php

I will have to create a folder for
"/includes/languages/english/extra_definitions/TM_001"
and
"/includes/modules/sideboxes/TM_001"
Since I don't have them.. Again, TM004 is installed in different directory or folder.

My TM001 is located in a different directory/folder path.
**"/includes/modules/TM001"
**and " /includes/templates/TM001/"
Is this still make senses?

Thank you.

28 Dec 2009, 4:41 AM
#1130
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

What's this with TM004 and TM001? Whichever foldername is used for your template is the one to use for the mod files.
You may have an /includes/modules/TM001/ folder and an /includes/modules/sideboxes/TM001/ folder - they are meant to hold different files. You need to use the same kind of structure as the mod files are packaged with.

29 Dec 2009, 3:57 PM
#1131
digulu avatar

digulu

New Zenner

Join Date:
Dec 2009
Posts:
43
Plugin Contributions:
0

Re: Categories Dressing

Hi gjh42:

Thank you for your help.

I have installed Category Dressing.

However, I only see on layout box controller is being added "sideboxes/theme227/ch_categories.php" when I go "Tool -> Layout Box Controller"
Is this mean I have successfully installed Category Dressing ?

My site is http://digulu.x10hosting.com/store/

I have read few time Category Dressing Readme about the application parts. I have still very confused. Could you please help me.. a little bit?
I mean how do I make my every main categoris example: "Audio Cables - Digital Coaxial" to have a Major Heading Bold look?

Currently I have three Categories but someone it only shows two categories. (Subcategories showed fine). Why is that?

Sorry I am not good at php programming..please give me some guideline.

thank you again!

29 Dec 2009, 4:30 PM
#1132
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The "Cat3sample" image is replacing the Audio Cables - RCA text because that is category id #3. Delete the image /includes/templates/your_template/buttons/english/catimg3.gif and the text will reappear.

I have to leave now, so I will answer more when I get back tomorrow.

30 Dec 2009, 2:51 AM
#1133
digulu avatar

digulu

New Zenner

Join Date:
Dec 2009
Posts:
43
Plugin Contributions:
0

Re: Categories Dressing

Greeting gjh42:
I have played around categories_dressing_defines.php sample. I understand better now. I think I not still not get it.
Could you please help me?

Questions:

  1. All define examples

define ('CAT_BOX_HEADING_2','0|1|||Audio Cables - Digital Coaxial|2');

worked fine with my Main Category but what does not work SubCategory. ( I didn't see any changes). Why is that?

  1. How will I able to still have Main Category listing url when I click my Category1 ? I like to be able to do like this website
    http://www.smokin-paint.com/
    This site used Category Dressing to change the Main and Sub Categories and still remain the Categorys' links? How did they do that?

  2. I would like to change the colour of the "fill" and fonts colour. Could you please give me hint where I should starts?

THank you very much again.

31 Dec 2009, 2:10 AM
#1134
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

weber - If you have navigated to the product info page through categories/subcategories, Zen Cart by default will have a cPath in the URL. Some SEO mods may eliminate that and may not show how you got there, meaning that if the product is linked to two categories it is not possible to know the active category. A link to see your site will make it easier to advise on this problem.

  1. with the ch_categories sidebox, how to css markup the active top cate? besides, it's is always a good idea to markup active cates. as we can assign a different styles. for example, the top cate is uncollapsed/active, so we can add a background to it's sub-cates
  2. I got you, but there is a possibility, for example, featured, special... whatever...and that will be a bug because the tree collapsed when you go into product info...just get the $_GET['cPath'] is not enough. can you tell me which line you decide the cpath, so i can add the portion without dig into the codes. besides, it's a great mode.
31 Dec 2009, 3:27 AM
#1135
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

digulu -
Heading defines are not for changing the category name link. You will just want to edit in your stylesheet_categories_dressing.css the
#categories ul a {/top categories/
and
#categories ul ul a {/subcategories/
rules, and possibly the

#categories ul {/top category lists/
and
#categories ul ul {/subcategory lists/
rules, for backgrounds and colors.

smokin-paint.com used background-images as shown in red. Yours would be similar to this.

#chcategories ul{list-style:none;background:none;border:none;margin:0 0 0.4em 0;padding:0}
#chcategories ul a{display:list-item;color:#000;
list-style:disc inside url(/includes/templates/classic/images/bullet1.gif);
background-image:url(/includes/templates/classic/images/catback8.jpg);background-repeat:no-repeat;border:none;
margin:2px 0px;padding:1px 0px 2px 0px}
#chcategories ul ul{
list-style:none;display:list-item;background-image:url(/includes/templates/classic/images/catback1.jpg);
background-repeat:repeat-y;border:none;margin:0em;padding:0 0 0 1.3em}
#chcategories ul ul a{
display:list-item;color:#000;list-style:circle inside url(/includes/templates/classic/images/bullet1.gif);
background-image:url(/includes/templates/classic/images/catback6.jpg);
background-repeat:no-repeat;border:none;margin:2px 0px;padding:1px 0px 2px 0px}
#chcategories li a.cat-parent-text{
list-style:square inside url(/includes/templates/classic/images/bullet2.gif)}
#chcategories li a.cat-selected-text{list-style:square inside url(/includes/templates/classic/images/bullet3.gif)}
#chcategories li a.cat-parent, #chcategories li a.cat-selected, #chcategories li a.cat-not-selected{
list-style:none;display:block}
#chcategories li.cat-top a:hover{
color:#000;background-image:url(/includes/templates/classic/images/catbghover.gif);background-repeat:no-repeat}
-----------#categories li li.cat-subs a:hover, #categories li li.cat-products a:hover{color:#000;background-image:url(/includes/templates/classic/images/catbghover1.gif);background-repeat:no-repeat}
#chcategories li a.catBg25{
background-image:url(/includes/templates/classic/buttons/english/catbg25.gif);height:30px}
#chcategories li a.catBg25:hover{
background-image:url(/includes/templates/classic/buttons/english/catbg25hover.gif)}
#chcategories li.cat-holiday a{
border-top:3px dotted #123;background-color:#abf;color:#123;padding:1em 0em}
ul#catGroup48{border:1px solid #bd6699;background:#bef;position:relative;left: -1.3em;top:0.2em}
.catCount{color:#000}
.catBoxDivider1{display:none}
#catBoxDivider{display:none}
31 Dec 2009, 3:42 AM
#1136
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

weber -
1: For active top cats, one of these selectors will apply:
#chcategories li.cat-top a.cat-parent-text, #chcategories li.cat-top a.cat-selected-text {}

2: In my test installation (mostly stock Classic template), the new/featured/etc. products when clicked from any location I tried included a cPath in the URL, and displayed the active styling in my test Categories Dressing installation. If it doesn't work for you, there is something outside Categories Dressing that is blocking the path info.

14 Jan 2010, 2:53 AM
#1137
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Categories Dressing

Hello there,

Is this mod compatible with HideCategories?

Thanks...

14 Jan 2010, 3:20 AM
#1138
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Have you downloaded the hideCategories mod files? If it has a copy of /includes/templates/your_template/sideboxes/tpl_categories.php, then the two mods cannot be used together without merging code. If that file is not present, there should be no conflict.

Note: if using the "uncollapsed categories tree" version of Cat Dressing, you will also need to account for /includes/modules/sideboxes/your_template/categories.php.

14 Jan 2010, 12:34 PM
#1139
pb4 avatar

pb4

Totally Zenned

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

Re: Categories Dressing

hm...not sure this is the right place to post this?

I have added the categorie dressing module to my page - here

I want to be able to add three pages - 'Design' 'Print' and 'Web' so that when you click the headings they go to those pages. I have been advised to use the E-Z pages for this but how would I add an E-Z page and the have that page linked from within the category (headers). Ive not used the E-Z pages before and I'm a bit baffled and unsure as to how I would do this! :blush:

Is there a step by step guide?

Thanks

14 Jan 2010, 3:13 PM
#1140
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The process would be the same as I advised you before (post 1083). Add headings to whatever product(s) you want just below your new buttons. If you want all the buttons in a group, try this:

define ('CAT_BOX_HEADING_9','0|0|||<a href="index.php?main_page=page&id=5">Design</a>|3|<a href="index.php?main_page=page&id=6">Print</a>|3|<a href="index.php?main_page=page&id=75">Web</a>|3');
```Change the 9 to your category id.
Change the 5/6/7 to your ez-page ids.
Make or edit a stylesheet rule for
.catBoxHeading3 {}
with whatever styling you want for those links. This could include a background image of a button.
If you want graphical buttons with fancy text, that is possible. It would require some extra code in the define.