Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,613

Results 1,741 to 1,760 of 2,268
20 May 2011, 4:45 AM
#1741
gjh42 avatar

gjh42

Black Belt

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

Categories Dressing

The order of the defines makes no difference.

You should be able to make your special group of categories inline while the rest display as usual, by setting the first item in each define '1|0||' correctly (to start a new group or not). I can give specific advice if I can see your site live.

20 May 2011, 5:20 AM
#1742
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Categories Dressing

It's live right now, probably for another 30 minutes (til 1:50ish AM ET) while I work on a separate issue.

www.thenutritionshoppe.net/shop

Thank you!

20 May 2011, 5:50 AM
#1743
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Found the problem that was causing that rule to not function: you are missing a */ on a comment, so the last section of the file was being ignored.

/*example for custom category group styling
ul#catGroup1 {
background: #bbeeff;
display: inline;
list-style-type: none;
border: thin solid #00FF00;
}
/add new rule/
ul#catGroup1 li.cat-top, ul#catGroup1 li.cat-top>a {display: inline;}

20 May 2011, 6:12 AM
#1744
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Categories Dressing

Actually, I had commented that out for troubleshooting. Sorry. The comment closed below there. I've reactivated it, but it's as stubborn as before.

Note: the box for the group does appear to open before A and close after Z but nothing appears to be contained within it.

(Looks like I'll keep it up for about another 25 minutes, til 2:40ish)

20 May 2011, 7:38 AM
#1745
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

It worked when I tested it on your site...

20 May 2011, 1:15 PM
#1746
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Categories Dressing

Then I'm missing something still. I'll try again. But what I'm getting is still a tall, narrow list, not anything that appears "inline" UNLESS the "box"/block it's in is too narrow to allow multiple items side by side.

20 May 2011, 3:12 PM
#1747
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Categories Dressing

I got it! I had a couple issues: stray character to start was making the inline fail for me. (I-D-10-T error here.) Then with "inline" for display for both the ul and the li (instead of "block" for the ul), it was causing the formatting to be hidden.

Thank you so much for your help!

22 May 2011, 12:41 AM
#1748
corry avatar

corry

New Zenner

Join Date:
May 2011
Posts:
12
Plugin Contributions:
0

Re: Categories Dressing

Hi, I've been working on my new clothing site today and im trying to make two category boxes, for male and female clothing. I set up the first box okay with images for each category, I set up the second box using the DocumentCategories method but when setting the images this just made two of each category, one in each box, with only the first box showing images and the second showing plain text. Any idea what i'd have to do to make the certain category images only show in the DocumentCategory box? Sorry if this has been asked. Thanks :smile:

22 May 2011, 3:32 AM
#1749
sportbiker avatar

sportbiker

Zen Follower

Join Date:
Aug 2008
Location:
Southern California
Posts:
127
Plugin Contributions:
0

Re: Categories Dressing

I always hoped I'd be the one with answers and not questions, but I think I overlooked something. In short, I've used Category Dressing before and now I want to use it with the flyout based menu.

I'm using the CSS update tip from post #1608, #1709, and #1710, but all I'm seeing are the two initial category headers I created and none of the sub-categories.

I always post when I've exhausted my own abilities and research, but can someone tell me where I messed up? I'm wondering if there's a missing file, CSS conflict, tpl_category screwup or something else I just can't see.

The Test Site:
order dot smimotorsports dot com

22 May 2011, 1:05 PM
#1750
corry avatar

corry

New Zenner

Join Date:
May 2011
Posts:
12
Plugin Contributions:
0

Re: Categories Dressing

Hi, I've managed to get my categories into the right boxes but now I just need a way of changing each category in the Documents Category to an image. Any ideas? Thanks :smile:

23 May 2011, 2:15 PM
#1751
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

sportbiker - the current version of the flyout code works correctly on your site:

#chcategories li>ul {display: none;}

#chcategories li:hover {position: relative;}

#chcategories li:hover>ul {
    display: block;
    position: absolute;
    left: 98%;
    top: 0;
    background: #ffffff;
    border: 1px solid #aabbcc;
    z-index: 100;
    width: 98%;
    }

Your rules are from a very specific case of flyout styling, and are too specific for universal functioning. They apply only to sub-subcategories.```
/add these rules/
#chcategories ul ul ul {/subcategory lists/
display: none;
}

#chcategories ul ul li:hover {position: relative;}

#chcategories ul ul li:hover>ul {/subcategory lists/
display: block;
width: 95%;
position: absolute;
left: 95%;
top: 0;
border: 1px solid #6699dd;
}

23 May 2011, 2:21 PM
#1752
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

corry - Categories Dressing will not work on the Documents sidebox, only the Categories sidebox. If you have installed Categories Dressing, you can get the two-box appearance by creating "category groups" (like #catGroup48 etc.).```
/example for custom category group styling/
ul#catGroup48 {
border: 1px solid #bd6699;
background: #bbeeff;
position: relative;
left: -1.3em;
top: 0.2em;
}

23 May 2011, 2:44 PM
#1753
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

PS - If you look at sportbiker's test site from the previous post 1748, you will see an example of two boxes with their own headings. It is also possible to hide the outer container so both boxes look like independent sideboxes.

23 May 2011, 3:09 PM
#1754
corry avatar

corry

New Zenner

Join Date:
May 2011
Posts:
12
Plugin Contributions:
0

Re: Categories Dressing

Is it possible to have the two boxes on opposite sides of the page as this is my main goal? Thanks for your help

23 May 2011, 4:03 PM
#1755
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

That is more difficult. It can work for some circumstances, but not if the size of the boxes will change dynamically.

Some people have used the ch_categories option alongside the regular categories (turning on both categories and chcategories sideboxes in Tools > Layout Boxes Controller) with custom code (possibly just CSS in the stylesheet) to limit the categories displayed in each box. This is actually two separate, fully functioning sideboxes.

23 May 2011, 6:41 PM
#1756
corry avatar

corry

New Zenner

Join Date:
May 2011
Posts:
12
Plugin Contributions:
0

Re: Categories Dressing

Hiya, I've got ch_categories working okay but it's showing every category. I'm pretty sure I just need to make simple value changes to the file ch_categories_tree_generator.php. I'd like it to only display categories with ID's over 100. Any help would be great, sorry to be a pain. Thanks :)

23 May 2011, 9:28 PM
#1757
edub6384 avatar

edub6384

New Zenner

Join Date:
May 2011
Posts:
1
Plugin Contributions:
0

Re: Categories Dressing

Hi, can anyone help me with this small problem? I currently have ch_categories dressing installed and seem to work fine except one of my links in sidebox is displaying as a background image hiding the text. I recently had some trial and errors and originally created a bg image called catbg4 matching the cat. ID#4that's being affected. I recently deleted the image and any define statements to stop any images as headings. My work-in-progress site is http://marketingkeys.org/public_html/index.php?main_page= and you can see that my original category sidebox is being affected with category ID#4

Thanks in advance for any help you can offer!

23 May 2011, 10:05 PM
#1758
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Actually, there are settings in categories_dressing_defines.php specifically for configuring how and which kinds of categories display. Read up on it in the readme and look at the defines file, and I will look at it when I have time to advise you.

23 May 2011, 10:45 PM
#1759
corry avatar

corry

New Zenner

Join Date:
May 2011
Posts:
12
Plugin Contributions:
0

Re: Categories Dressing

Hiya, I checked out the file but I wasn't sure how to make it work for the ch_category box. Just to clarify, I'm trying to put different categories into each of the two boxes. Any help would be much appreciated when you have a spare moment. :)

24 May 2011, 2:47 PM
#1760
elly avatar

elly

New Zenner

Join Date:
May 2011
Posts:
49
Plugin Contributions:
0

Re: Categories Dressing

I have installed this fine, but now it comes to the stage of changing the defaults of the category box and I just don't understand the readme.

I would like the various types of book product available as categories - paperbacks, ebooks, audio books; followed by a "Authors" category, made up of subcategories of the author names. I have made a start setting these up in the admin panel - I just need to display them properl in the box

So, I need to get rid of major heading / minor heading provided in the default and get these categories in the right order. The readme is making my head spin.

Especially - how do I find out what the cPath is for a category?

I would be grateful if someone could explain in a more digestable form.

Oh - what I have so far is at: http://www.ellybooks.co.uk/shop/