Quote from: iusemodx at Oct 07, 2013, 07:56 AMPost the full Ditto calls for:
1) The tag page e.g. Heavy, Small etc.
2) The product / blog page where the Tag Links are rendered
Yes, sure. I'll do that a bit below. But please note that my Ditto calls are all working right, I see everything I should on my pages etc. I need to know how to handle my problem with item lists, not with Ditto calls.
Let me repeat what I write in the first post:
1. I have a list of items (cars), each of it have some characteristics associated (one car is "heavy" and "big", another is "light" and "small" etc, not limited only by size and weight). I put all these items as children of single document (id=66), and set this doc to be "hidden in menu".
2. I set up several pages each contains Ditto call like this:
[[Ditto? &startID=`66`
&tpl=`ItemTpl`
&tagData=`tvItemInfo`
&tagDelimiter=`,`
&tagMode=`onlyTags`
&noResults=``
&tags=`heavy`]]
the
heavy is the tag, and this is the only piece I change on each page. Each such a page have its own address (like 'heavy', 'big' etc), so in fact I have such a docs tree:
(root)
+---items
+----big
+----small
+----heavy
+----itemstorage <-- hidden in menu
and under this last
itemstorage all items are listed.
3. Here is the fuzzy part.
Ok, say user visits page with URI of
/items/small/, where Ditto call with
&tags=`small` is located. The user will see all the items with tag "small", with link on each item. Say user click on such a link - the page for that item will appear, but the page's URI won't be /items/small/
item-name as user may expect, but rather /items/
itemstorage. Moreover, on the item page I can't put "back link" such as "All small cars", since I don't know in advance which tags are assigned to that item/page. I also can not highlight menu item of "items -> small", since item page is under different parent.
That's the problem. Surely I can post chunks involved but it won't ideologically solves my prblem, isn't it? And this is something I need help with - the approach itself.