Page 1 of 2 12 LastLast
Results 1 to 10 of 2267

Hybrid View

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

    Default Re: Categories Dressing

    I hope someone can pin point this error quite easily on http://www.bodykitsonline.co.uk/ at the bottom of the left hand category list underneath sale items and specials there is a little square, its line 144 in view source. Just wondering where to go to delete it.

    Thanks

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

    Default Re: Categories Dressing

    I don't know where that could have come from. Did you do any editing of tpl_categories.php at all? Can you post the section for a few lines above and below the place that outputs this, in [php] and [/php] tags, please.
    HTML Code:
    </ul><hr id="catBoxDivider" /><ul class="catLinks">
    You do have a slightly older version which had some <ul> nesting bugs, though I don't see how that could affect what you have.

    Posting that copy/paste from your view source eliminates the square. I wonder if it is some kind of blank in another character set??
    Last edited by gjh42; 15 Oct 2009 at 04:53 PM.

  3. #3
    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

  4. #4
    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.

  5. #5
    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.

  6. #6
    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.

  7. #7
    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?

  8. #8
    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

  9. #9
    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 '.

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

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    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?
    What folder will i find the above code.

    Thanks

 

 
Page 1 of 2 12 LastLast

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

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