fixed it perfect! thanks...
needs fiddling for size and whatnot, but now that i can see it, its easily fixed.
thanks again for all your help!
(feeling very zenny today)
fixed it perfect! thanks...
needs fiddling for size and whatnot, but now that i can see it, its easily fixed.
thanks again for all your help!
(feeling very zenny today)
hey Glenn;
Thanks for the heads up on the expanded category tree mod. I would never have found that.
If I can be indulged a few more questions.
- how do I not show the category list only on main category pages - not sub cats and product pages?
- how do I remove or comment out the default sub cat links that appear below the category description?
- How do I remove the Sprecials and what's new from beneath the sub cat list?
- how can I show the sub cats on certain categories in column? example, under Yarns:
----------- column 1 Column 2
| IMG | choose by Brand Choose by Fibre
-----------
Here's a link to the site so you don't have to scroll through the threads.
This may vary by categories as some are longer than others.
Glenn, your time and patience is much appreciated. you are a rock.
How do I remove the categories dressing?
Just delete the files that are included in the mod (see the readme for a list.)
What were you trying to do that you installed it for originally? Depending on your intentions, you may need this mod - I can't tell without more info.
Newagekat -
1. I think your best bet here is per-category stylesheets.
Set the categories box to display: none; in your main stylesheet,
#categories {display: none;}
and make a stylesheet for each top cat named like c_1.css containing the rule
#categories {display: block;}
2. Add to your stylesheet
.categoryListBoxContents {display: none;}
3. Admin settings... If you don't want them removed from the top categories, you could do the same display: none; / display: block; routine as described above, using the same c_1.css stylesheets.
4. This one would be difficult, except for the abilities of the newest Cat Dressing version. Are you wanting a column of brand subcats, and a column of fibre subcats next to it?
Making "groups" for those two categories will let you treat them separately for positioning. (You will need a group for each of these subcats under each top cat.)
Glenn:
I was just about to contact you when you posted a reply to my questions. Mind reading is a rare commodity
I will try your solution for step 1 & 2 and keep you posted. if I understand ZC convention, it has to be stylesheet_c_1.css for category cPath 1, right?
I managed to fix step 3 by setting ul.catLinks to display: none; in catDeressing css
As to step 4, well that's a pickle. I was playing around yesterday and realized that, yes, I would need to create a group.
if you visit the site, you'll see my attempt got some results, but not quiet what I was looking for.
Yes, that's exactly what I want to do!Are you wanting a column of brand subcats, and a column of fibre subcats next to it?
Making "groups" for those two categories will let you treat them separately for positioning. (You will need a group for each of these subcats under each top cat.)
In the category define page, I currently have:
to tell you the truth, I'm lostdefine ('CAT_BOX_HEADING_1','1||1|||1|');//new list - text headings - multiple levels - styles 1 & 2
define ('CAT_BOX_HEADING_2','1|1|1||Major Heading|1|Subcat Heading|2|Subcat Heading |2|');//new list - text headings - multiple levels - styles 1 & 2
define ('CAT_BOX_HEADING_3','1|1|1||Major Heading|1|Subcat Heading|2|Subcat Heading |2|');//new list - text headings - multiple levels - styles 1 & 2
define ('CAT_BOX_HEADING_6','1|1|1||Major Heading|1|Subcat Heading|2|Subcat Heading |2|');//new list - text headings - multiple levels - styles 1 & 2
define ('CAT_BOX_HEADING_7','1|1|1||Major Heading|1|Subcat Heading|2|Subcat Heading |2|');//new list - text headings - multiple levels - styles 1 & 2
define('CAT_BOX_ACTIVE_LEVEL', '1|1|2');//hide top cats
can you show me one example for say Choose by Fibre in the Yarn category?
If I can understand your thought process, maybe I can give you a hand to further clarify this aspect of the define page. I know a lot of people are confused. It might reduce the number of posts asking for the same thing.
Is there a new version beyond 2.6? and can my request be handled with that new version?
thanks again for you time, Glenn. Your patience has no bounds.
Glenn:
just a heads up, placing .categoryListBoxContents { display: none; } in styleshee.css will hide the subcat list. so if someone goes and clicks the heading Choose By Brand, they only see dotted lines with no sub cat lists. So, I've palced .categoryListBoxContents { display: none; } in the category specific stylesheet c_1.css (for category cpath=1)
IT WORKED!!!
all that's left is grouping. thankyou thankyou thankyou !!
You are putting in a lot of extra stuff there...
From the readme:
=====================================
To start a new <ul> list grouping in a specific place in the categories menu:
The first number in the "pipes" section '1|0||' controls the list grouping.
define ('CAT_BOX_HEADING_1','1|0||');//new list - no headings
When set to 1, a new list group will begin with the specified category, and continue until another group is defined. You do not need to have a heading for a group.
The group will have an id based on the cPath of the category at its head, like #catGroup48, which can be used to style and even move the group independently of the rest of the sidebox:
Leave this field set to 0 unless you specifically want to style a group starting with this category.Code:ul#catGroup48 { border: 1px solid #bd6699; background: #bbeeff; position: relative; left: -1.3em; top: 0.2em; }
=====================================
You are applying the groups to subcats, not top cats, so you would want:
define ('CAT_BOX_HEADING_1_15','1|0||');//brand
define ('CAT_BOX_HEADING_1_16','1|0||');//fibre
define ('CAT_BOX_HEADING_6_40','1|0||');//books
define ('CAT_BOX_HEADING_6_41','1|0||');//patterns
and in your stylesheet:
adjusting numbers to fit.Code:ul#catGroup1_15 { position: relative; left: 0em; top: 0em; } ul#catGroup1_16 { position: relative; left: 15.0em; top: -11.0em; }
You might want to use absolute positioning, but you would need to specify a height for the #categories box so that space is held open.
Read /includes/templates/template_default/css/CSS_read_me.txt for a description of how to make category-specific stylesheets. EDIT: I see you have done that.
You're right, those links can be hidden with CSS - I was thinking of centerboxes...
I submitted v2.7, but got it withdrawn before posting when I found a bug in the stylesheet. As soon as I get a bit of time for testing, I will be submitting v2.7.1, which will also have some added "active/level" display control settings.
But that will make no difference to your situation, as it is primarily for integrating the Uncollapsed Categories Tree mod.
Glenn:
just wanted to take a moment to thank you once more for your time and patience. If I can buy you a cup of coffee, let me know.![]()
Hey Glenn:
I thought I was done bugging you, sorry.
I'm in the process of cleaning the code for this site for cross browser compatibility and to meet W3C standards.
I've noticed that you have placed nested UL tags inside the parent UL not the LI. for example, on my site:
instead ofCode:<ul> <ul id="catGroup1_15"> <li class="cat-subs"></li> <ul> <li></li> </ul> </ul>
Can the code be adjusted to conform to norms and still function the same way? If not, is it possible to place the category list in div tags instead of a list to avoid issues with validation?Code:<ul> <li> <ul id="catGroup1_15"> <li class="cat-subs"></li> </ul> </li> </ul>
I'm working on Firefox 3 for Mac. I'm currently testing on Safari v3.2.1, IE6, and IE7. I will also test on Opera.
Also, I have zen Lightbox installed to work with product and attribute images. However, since installing your mod and/or perhaps the category tree mod, the lightbox is no longer working. Images open in a new window.
I've checked, and none of the files overwrite each other. Any ideas? Has anyone else experienced this?
Bookmarks