Page 100 of 227 FirstFirst ... 50909899100101102110150200 ... LastLast
Results 991 to 1,000 of 2267
  1. #991
    Join Date
    May 2007
    Location
    Italy
    Posts
    438
    Plugin Contributions
    0

    Default Re: Categories Dressing

    hello, I installed this addon on local pc to test (so on classic template)
    I would only to have three sideboxes with different types of products.
    And I would maintain the same template classic, so without change.

    I installed all, but I didn't understand how to do these things.

    Like the site of Glenn, future relics, as collections in 1 sidebox, and all ...... in another sidebox.

    How can I do this?
    thanks in advance

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

    Default Re: Categories Dressing

    Give your categories sort orders so they appear in the order you want, then make the first category in each of the three sidebox groups a "group" leader (set a define statement to start a new group with that category).

    Then you can style those groups in your stylesheet as separate boxes. The readme has detailed examples, and there are screenshots with styling examples around posts 501-510 in this thread.

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

    Default Re: Categories Dressing

    HI, in reply to your post number 990 - sorry to be lacking common sense here, but im not sure where the file is that you want me to copy/paste from.

    I first assumed it would be in the /extra_definitions/custom/categories_dressing_defines.php file, but after looking there i think its just the area where you add the divider lines and i couldnt see any area's that could have added that error.

    I dont think i did any editing in tpl_categories.php it all looks original

    Thanks
    Ben
    Last edited by ben harry; 16 Oct 2009 at 10:14 AM.

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

    Default Re: Categories Dressing

    Even if you don't think you edited it, it's the only reasonable source for the extra character. You should have this:
    PHP Code:
      $content .= cat_ul_manage(0$prev_cat_depth0) . '</ul>' "\n";
        
      if (
    SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    // display a separator between categories and links
        
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
          
    $content .= '<hr id="catBoxDivider" />' "\n"
    Maybe your site is somehow misreading the "\n" after the '</ul>'?
    That is only a view source formatting character and should not be displayed on the website screen.

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

    Default Re: Categories Dressing

    You don't have Cat Dressing active now, so I can't check it live, but your view source before should have looked like
    Code:
    </ul>
    <hr id="catBoxDivider" />
    <ul class="catLinks">
    not
    Code:
    </ul><hr id="catBoxDivider" /><ul class="catLinks">
    That's what the \n is supposed to do, and one of them apparently was giving an unknown character output while the second one was being ignored.

    What have you been using to edit files?

  6. #996
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi, thanks for your input, i have removed the mod today as im going to re-install it freshly. I have been trying my best to remove as many errors as possible from w3c which has resulted in lots of my original designs being deleted in order for me to start again from scratch. Im now down to the final 13 errors to clear. Im going to re-install your mod over the weekend so i'll post again when its done and fingers crossed the little error i had wont be there.

    I normally edit files in my cpanel files, or if there quite big edits i use notepad and copy/paste the code in, i know it isnt the best way of doing it but for the time its the only way i know how.

    Thanks
    Ben

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

    Default Re: Categories Dressing

    For editing, I suggest downloading a full backup of your Zen Cart files to your pc and putting them in an easy-to-reach place. Then install a good text editor like Notepad++. If you edit and save files there, then upload to your site, you will always have an up-to-date backup in case of server problems. Give Notepad++ and Filezilla (or whatever you use) icons/links in conveinent places on your computer screen, and it will quickly become easy to do it the right way. You will like the syntax highlighting, too, as it can show you when you have tiny fatal things like a missing '.

  8. #998
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I want to change the Hover Color on my categories to Orange.
    www.NothingButCostumes.com

    I tried editing a section in the categories dressing style-sheet but it did not work.

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

    Default Re: Categories Dressing

    The rules you added near the middle of stylesheet_categories_dressing.css were not specific enough to overcome the existing rules at the bottom of the file:
    Code:
    /* top category hover effects*/
    #categories li.cat-top a:hover {
        color: #ff9933; 
        background:  #ddeeff url(../images/catbghover.gif);
        } 
    
    /* subcategory hover effects*/
    #categories li li.cat-subs a:hover, #categories li li.cat-products a:hover {
        color: #aa9966; 
        background: #ffb9ff url(../images/catbghover.gif);
        }
    Change those color and background properties as you like, and delete the color from these rules:
    Code:
    li.cat-top a {text-decoration:none;
    color: black;
    }
    li.cat-top a:hover {
    color: black;
    background:#FFCC66;
    
    }

  10. #1000
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: Categories Dressing

    In reply to your post number 995

    Quote Originally Posted by gjh42 View Post
    Even if you don't think you edited it, it's the only reasonable source for the extra character. You should have this:
    PHP Code:
      $content .= cat_ul_manage(0$prev_cat_depth0) . '</ul>' "\n";
     
      if (
    SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    // display a separator between categories and links
        
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
          
    $content .= '<hr id="catBoxDivider" />' "\n"
    Maybe your site is somehow misreading the "\n" after the '</ul>'?
    That is only a view source formatting character and should not be displayed on the website screen.
    Looking through the code on my other site www.southwestmotorsport.com which luckily still had this mod live i found that the above code on mine was

    $content .= str_repeat('</ul>',$prev_cat_depth+1);

    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    // display a separator between categories and links
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
    $content .= '<hr id="catBoxDivider" />' . "\1";

    I simply replace my code with yours and hey presto the little error has gone.

    Thanks

 

 

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