Hi, after searching , and playing around for a few hours, I need the ouput the ditto to match the document tree menu index exactly to make my client happy.
running mysql 5.0.90 so it’s not the mysql bugs
doc tree order for the catagorys
shop (51)
summer (219)
necklaces (220)
earrings (221)
bracelets (222)
spring two (168)
spring (58)
Listing for The Onion Tree (198)
necklaces (60)
earrings (61)
bracelets (59)
pearls (68)
necklaces (70)
earrings (71)
bracelets (69)
What i dont get, is why
doesn’t output properly i think.
It should and the desired output is to output all products in category summer necklaces, then all products summer earrings, then all products in summer brackets, then the spring category ect.
but instead it gives me the listing all products with a menuindex of 1 from all the categorys, then all products with menuindex of 2.
http://www.jewelrybyharlow.com/shop.html is the page working on
i need each category’s products displayed in whole as it’s listed in the document tree.
current ditto call
[!Ditto? &depth=`3` &display=`200` &paginate=`1` &paginateAlwaysShowLinks= `1` &showPublishedOnly=`1` &orderBy=`id ASC, menuindex ASC` &tpl=`ProductTemplate` &extenders=`request` &hideFolders=`1` &filter=`id,193,2|id,167,2` !]
This gets me close to whats wanted but not correct, it just happens most of the doc ID’s are in same order as the menu index at the moment.
Any help, or links would be much appreciated
if i need to make a new template for the category container pages to have a different ditto call, let me know. currently shop, category container pages, and product pages (just a container for the TV’s) all use the same template.
I have also noticed that if a category is unpublished, but still has published children. they will be displayed. even though it’s set to only show published items. if the parent is unpublished, shouldn’t it not show anything in that sub folder?