What the sidebox does is display all the subcategories of the category id you specify (not certain if only first level or all levels). You can get the category id by hovering on the category link and seeing the ...&cPath=##" in the URL.
What the sidebox does is display all the subcategories of the category id you specify (not certain if only first level or all levels). You can get the category id by hovering on the category link and seeing the ...&cPath=##" in the URL.
Hi,
I have uploaded a fixed version 1.1,
regards
Steve
where can I find the update?
This is the error that I get
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/select master category and cd.language_id = '1' order by sort_order, cd.catego' at line 3
in:
[select c.categories_id, cd.categories_name, c.parent_id, c.categories_image from zen_categories c, zen_categories_description cd where c.categories_id = cd.categories_id and c.categories_status = 1 and c.parent_id = 6 //select master category and cd.language_id = '1' order by sort_order, cd.categories_name]
it may be a couple of weeks while it gets vetted/de-loused and appears in the Downloads, but in any case all the fixes I did are detailed in post#8.
The query that seems to be causing the problem should be like this
The only thing you need to change is thePHP Code:
$categories_query_ap =
"select c.categories_id, cd.categories_name, c.parent_id,
c.categories_image from " . TABLE_CATEGORIES . " c, " .
TABLE_CATEGORIES_DESCRIPTION . " cd " .
"where c.categories_id = cd.categories_id
and c.categories_status = 1
and c.parent_id = 2 and cd.language_id = '" .
(int)$_SESSION['languages_id'] . "'" ."
order by sort_order, cd.categories_name";
to whatever the number is for the category you want it to display.PHP Code:
and c.parent_id = 2
Hi,
the corrected version is now available for download:
http://www.zen-cart.com/index.php?ma...cts_id=1231the
There is nothing new in it that has not been mentioned in this thread already.
regards
Steve
Hi there i upload your Display Categories In Separate Boxes but i like to remove the dot it showing next to categories on left side can you help me out with this Thanks
there should not be a dot, can you provide a link to your site?
Steve
That is the list item marker. If you don't want any marker, add to your stylesheet (in any convenient place)Code:.separatesideboxlist li {list-style: none;}
Bookmarks