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)?
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)?
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 :)
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.
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
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.
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
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."
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
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?
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.
Bookmarks