Cycle Variable Names? Do you mean like you did in your request config file? If so, you could do it like "$var$i".
Why would the filter class need to explode TV values?
Quote from: Mark at Nov 11, 2006, 04:11 PM
Cycle Variable Names? Do you mean like you did in your request config file? If so, you could do it like "$var$i".
Yes. Do you know how can I find something related to this?
Quote from: Mark at Nov 11, 2006, 04:11 PM
Why would the filter class need to explode TV values?
Because if you have a TV value like "Florence,Rome" and you filter by "Rome" the filter doesn’t recognize the match.
Ok, one thing less to do!
Thank you for Ditto Mark. It’s an invaluable piece of software.
Are there any specific requirements or limitations to randomize?
It was working fine, I had to rearrange the structure of the documents to create a product hieararchy, and now it doesn’t work.
At the very least, there are 4 other documents within the container that the one is being pulled from, so I would at least expect one of the other three to show up.
Does it need the startID or depth to be called at a certain level? Can it handle multiple containers?
|
Identity Developments delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity. |
Can you provide your call?
Sure,
[!Ditto? &randomize=`1` &startID=`6` &tpl=`ProductSummary` &depth=`10` &summarize=`1` &filter=`tvProductHighlight,Yes`!]
This is placed on the home page and is meant to deliver 1 product randomly. The tvProductHighlight is a yes/no tv in all of the products to determine whether or not they should be included for this random and other special locations.
I’ve tried a number of different combinations... more or less attributes. No matter what, Test 5 continues to show up, and if I mark it as No for highlight, then Test 4 shows up.
Here is the current structure.
Products (6)
-Product A (10)
--Type A (20)
---Brand A (12)
----test 1 (15)
----test 3 (17)
----test 4 (35)
----test 5 (36)
--Brand B (13)
----test 2 (19)
--Type B (21)
---Brand A (33)
----test 2 (16)
--Brand C (34)
-Product B (11)
-- Type C (22)
-- Type D (24)
-- Type E (23)
-- Type F (25)
The intention is to just randomly show one of any of the products designated for Highlight.
Thanks
|
Identity Developments delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity. |
Yup, there is a bug in Randomize in Ditto 1.1 Beta 1. Check out Beta 2 which should be coming out in a few minutes.