I thought about this, but is there a way of doing it with text?
Printable View
I thought about this, but is there a way of doing it with text?
I went about this a different way, I just created a new sidebox, disabled the sidebox header and use an HTML table to generate the links with anchor text I input to the table and hard coded URL's to the newly named categories. This should help a lot with SEO for people searching, "white wedding flowers", "yellow wedding flowers"...etc. So, I got there on this one. I just used a display:none; to get rid of the #catGroup1_339 and #catGroup1_26
I have another question though, on a different subject completely. I've had to disable the top level category using li.cat-top {font-size:1.1em; display:none;}
I didn't want to do this though, I wanted to just disable category ID 349 from the admin panel. However, when I disable category 349, it also disables the link to coming soon (where the little yellow star is). I tried and tried but for the life of me I couldn't figure out why?
It must have something to to with this line, from categories_dressing_defines.php
Can you think of a way for me to keep the "coming soon" on display when I disable category 349 from admin? I don't want to just disable top level categories as we're planning to add a few new ones in the very near future.PHP Code:
define ('CAT_BOX_HEADING_349','0|0||| <a href="index.php?main_page=wedding_flower_gallery">Coming Soon ...</a>|3');
If cat 349 is going to stay disabled, you can move the define to whatever cat or subcat is going to stay at the top of the list.
Alternatively, you can make cat 349 its own category group and the rest another group, which will give that an id of #catGroup349.
Then add to your stylesheet
#catGroup349 .cat-top {display: none;}
The readme has instructions for this, under the "To start a new <ul> list grouping at a specific point in the categories menu:" section.
I changed from this:
To this:PHP Code:
define ('CAT_BOX_HEADING_349','0|0||| <a href="index.php?main_page=wedding_flower_gallery">Coming Soon ...</a>|3');
Then added #catGroup349 .cat-top {display: none;} to the stylesheet. Seems to work perfectly. Thank you Glen.PHP Code:
define ('CAT_BOX_HEADING_349','1|0||| <a href="index.php?main_page=wedding_flower_gallery">Coming Soon ...</a>|3');
To do this to another category, would I just add the following to include the new category?
PHP Code:
case 8://full active tree, others per level; always cat 150
if($cPath_top != $path_top and $path_top != '150') $test_level = 1;
break;
I tried this, but it doesn't seem to work?
I also added this to categories_dressing_defines.php:
define('CAT_BOX_ACTIVE_LEVEL', '8|0|0'); //show only active cats, to first subcat level
Still no worky:(
Nevermind, it seems I shouldn't have added a new line in my categories_dressing_defines.php
I just needed to change the line to allow for the new case number. Changing the line to this worked for me:
define('CAT_BOX_ACTIVE_LEVEL', '8|0|0');
Thank you for providing such an excellent custom solution!