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
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.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.HTML Code:</ul><hr id="catBoxDivider" /><ul class="catLinks">
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.
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
![]()
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.
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.
Even if you don't think you edited it, it's the only reasonable source for the extra character. You should have this:Maybe your site is somehow misreading the "\n" after the '</ul>'?PHP Code:$content .= cat_ul_manage(0, $prev_cat_depth, 0) . '</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";
That is only a view source formatting character and should not be displayed on the website screen.
You don't have Cat Dressing active now, so I can't check it live, but your view source before should have looked likenotCode:</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.Code:</ul><hr id="catBoxDivider" /><ul class="catLinks">
What have you been using to edit files?
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