Page 223 of 227 FirstFirst ... 123173213221222223224225 ... LastLast
Results 2,221 to 2,230 of 2267
  1. #2221
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello,
    Sorry, must have uploaded the wrong one. Here it is...

    <?php
    /**
    *
    * @copyright Copyright 2009 Glenn Herbert
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.gnu.org/licenses/ GNU Public License V3.0
    * Categories Dressing v2.7.3 - Glenn Herbert (gjh42) - 20090505
    * includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php
    */

    //example defines - copy & modify for each category desired
    define ('CAT_BOX_HEADING_#','group|divider/class|[imgname]|[imgalt][|headcontent|headclass][|headcontent|headclass]...');
    define ('CAT_BOX_HEADING_1','1|0|||Jewellery making|1');//new list - divider and- text headings - style 1
    define ('CAT_BOX_HEADING_2','1|0|||Laser cut jewellery|1');//new list - text headings - style 1
    define ('CAT_BOX_HEADING_3','1|0|||Scrapbooking and paper craft|1');//new list - text headings - style 1
    define ('CAT_BOX_HEADING_4','1|0|||Custom celebration accessories|1');//new list - text headings - style 1
    define ('CAT_BOX_HEADING_23','0|1|||Another Heading|2');//no list break - divider and text heading - style 2
    define ('CAT_BOX_HEADING_33_34','0|0|||Subcat Heading|3');//simple text heading - style 3
    define ('CAT_BOX_HEADING_48','1|0|cathead48.gif|Cat 48 Heading|Buy Now...|3');//image heading and alt text - can be followed by text heading(s)
    define ('CAT_BOX_HEADING_52','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_53','0|2||');//divider only - style 2
    define ('CAT_BOX_HEADING_FEATURED','0|0|||Featured Heading|3');//no list break - text heading
    define ('CAT_BOX_SUBTEXT_23','Subtext for cat 23 escape apostrophe\'s|1');//subtext - style 1


    //
    //display only the active top category and its subs, hide top cats, hide sub-subcats, or any combination.
    //only uncomment and set this define if you want to hide cats based on active tree or level
    // 'active|highest_level|deepest_level'
    //active: 0=all tops/1=full active tree only/2=active only (all tops when no cat selected)/
    //3=full active tree, others per level/4=like 3, active branches only/5=like 1, no tops|
    //highest_level: 0=all levels/1=no topcats/etc.|
    //deepest_level: 1=only first subcats/2=first & second subcats/etc.
    //
    //define('CAT_BOX_ACTIVE_LEVEL', '0|1|9');//hide top cats
    //define('CAT_BOX_ACTIVE_LEVEL', '1|0|1');//show only active cats, to first subcat level
    ?>

    Thanks
    A

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

    Default Re: Categories Dressing

    It appears that you have set defines according to the heading you want first, second, third, etc. It doesn't work that way; you need to make the define refer to the category id or cPath of the first category in your desired group (after you have all the categories arranged in the order you want them). So "Jewellery Making" needs to be
    PHP Code:
    define ('CAT_BOX_HEADING_42','1|0|||Jewellery Making|1'); 
    and the others need to be headings _125, _135 and _136 (if I recall correctly).
    You need to use the category id number, not the URL rewrite you have set up for a category.

  3. #2223
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Fantastic! That seems to have worked. Which part do I need to alter for the heading for each section as I want them all to look like the header for Jewellery supplies.

    Thankou
    Amy

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

    Default Re: Categories Dressing

    '1|0|||Jewellery Making|1' specifies a type "1" heading, and if the others have this same syntax, they will have the same kind of heading.

    If you want to change the heading styling, edit .catBoxHeading1 {} or whatever rule is applicable in stylesheet_categories_dressing.css.

  5. #2225
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Categories Dressing

    T H A N K Y O U !

  6. #2226
    Join Date
    Mar 2009
    Location
    Crockett, Texas
    Posts
    139
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi everyone...

    Can you tell me how I might be able to incorporate Images for Titles with Categories Dressing? Maybe it's been posted here and I overlooked it.

    I installed both, and both work well...i just can't seem to get them to work together. If I use the basic categories side box, I get my image but need to heavily modify the css to have the right look for the categories tree...but I don't really like it.

    I can use the chcategories sidebox and I really like the look but can't seem to find my image header. I tried this: http://www.zen-cart.com/showthread.p...ages-as-titles but that didn't work either.

    I named the image boxhead-categories.png (which I set to png) and added it to every place I could add images and it will not show up with the chcategories box. Any clue? Am I naming it wrong since I'm using the ch categories sidebox and if so...what should I name it?

    Thanks so much for your help!!! :)

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

    Default Re: Categories Dressing

    If you are using the chcategories option, you need to name the file boxhead-chcategories.png.

  8. #2228
    Join Date
    Mar 2009
    Location
    Crockett, Texas
    Posts
    139
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hey gjh...YOU ARE THE BEST!!! I knew it was a simple solution but sometimes the answer is so obvious we don't even see it. Thank you so much!!! :)

  9. #2229
    Join Date
    Jul 2012
    Location
    AZ USA
    Posts
    59
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Is this plugin compatible with 1.5.1 ? I would like to set up several category boxes for different things ..

    http://dezertdezinez.com/workspace

    The categories would be as follows:

    Photogrphy under this we want
    1
    2
    3

    Scrap kits
    1
    2
    3
    4

    Greeting Cards
    1
    2
    3
    4
    5
    6
    7

    Scrap Books
    1
    2
    3
    4

    Insperational Photos
    1
    2
    3
    Post cards

    Is this possible with this plug in ..

    thank you

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

    Default Re: Categories Dressing

    Yes, Categories Dressing works with any version of Zen Cart within the last 6 or 7 years - older than anyone should be using:) - up to the latest, and will work with v1.5.2 when it is released.

    The setup you show should be possible with the chcategories option, and "category groups" for each top category.

 

 

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