Page 71 of 227 FirstFirst ... 2161697071727381121171 ... LastLast
Results 701 to 710 of 2267
  1. #701
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    What folder do you add coding to enable divider lines, i used the code from an older version of this mod and placed it in the stylesheet but it didnt work.

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

    Default Re: Categories Dressing

    The readme describes the process for adding dividers. For example:

    define ('CAT_BOX_HEADING_52','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_53','0|2||');//divider only - style 2

  3. #703
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I can see that but, but i dont know what file that is in to edit,

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

    Default Re: Categories Dressing

    it was in languages/english/extra_definitions/custom/categories_dressing_defines.php

    I thought you knew that defines were here.

  5. #705
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Ive been looking at this now since you replied, and i really cant work it out, in my other copy the is a line where you put the page id seperated by a comma e.g 1,2,3,4,5 etc etc but i cant see that line in this version. im sure its a very easy fix, but i cant work it out.

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

    Default Re: Categories Dressing

    That method is completely replaced by the "define" file method. Forget about the comma-separated numbers, and make new copies of the define for each category where you want a divider.

  7. #707
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I tried adding
    define ('CAT_BOX_HEADING_2','1|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_3','1|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_4','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_5','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_6','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_7','0|1||');//divider only - style 1
    define ('CAT_BOX_HEADING_8','0|1||');//divider only - style 1

    But that was obviously wrong as it didnt work, what should i be writing to get divider lines between category ID 2 - 9

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

    Default Re: Categories Dressing

    And you added that to /includes/languages/english/extra_definitions/custom/categories_dressing_defines.php?

    If so, it should work. Did you make any changes in tpl_categories.php, or any other mod files beside the stylesheet?

    Note that the dividers go above the selected category, so you would get dividers between categories 1 - 8 with the defines you show.

  9. #709
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I refreshed a few times and it has worked

    Do you know what code i should add to make the hover color fill the complete space between the dividers.

    Thanks
    Last edited by ben harry; 7 Apr 2009 at 09:43 PM.

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

    Default Re: Categories Dressing

    You would want to edit the hr.catBoxDivider1 {} rule in the stylesheet to make its height or line-height only 1 pixel... experiment.

 

 

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