Page 213 of 227 FirstFirst ... 113163203211212213214215223 ... LastLast
Results 2,121 to 2,130 of 2267
  1. #2121
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I thought about this, but is there a way of doing it with text?
    Last edited by limelites; 4 Nov 2012 at 05:29 PM.

  2. #2122
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    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

  3. #2123
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    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
    PHP Code:
    define ('CAT_BOX_HEADING_349','0|0||| <a href="index.php?main_page=wedding_flower_gallery">Coming Soon ...</a>|3'); 
    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.

  4. #2124
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    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;}

  5. #2125
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    ...Alternatively, you can make cat 349 its own category group and the rest another group, which will give that an id of #catGroup349
    This is the part that baffles me. How do I 'make cat 349 into it's own category group?

  6. #2126
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    The readme has instructions for this, under the "To start a new <ul> list grouping at a specific point in the categories menu:" section.

  7. #2127
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    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:
    PHP Code:
    define ('CAT_BOX_HEADING_349','0|0||| <a href="index.php?main_page=wedding_flower_gallery">Coming Soon ...</a>|3'); 
    To this:
    PHP Code:
    define ('CAT_BOX_HEADING_349','1|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.

  8. #2128
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    You would need to modify the switch in the cat_active_level_manage() function in categories_dressing_functions.php. Add a new case like this:
    PHP Code:
          case 7://full active tree, others per level; always cat 23
            
    if($cPath_top != $path_top and $path_top != '23'$test_level 1;
            break; 
    Change 23 to the id of your desired always-expanded category.

    Change your define to this:

    define('CAT_BOX_ACTIVE_LEVEL', '7|0|0');

    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 thisbut it doesn't seem to work? 

  9. #2129
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Categories Dressing

    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

  10. #2130
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Categories Dressing

    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!

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR