take a look at Ditto (included with the release)
that wil help you
-
☆ A M B ☆
- 24,524 Posts
1. Create a folder/container document to put your "deals" documents in.
2. Create your "Deals" document under the above folder/container document.
3. Make a chunk or a TV for the sidebar with the Ditto call to pull up a random "Deal" document. Ditto can be configured with its parameters to filter by subject or date or anything else you might want.
Thanks for all your help. It’s slowly beginning to sink in, although I’m still not sure about what Ditto call to make to return random documents. As I said in the original post I want to display 3 random documents, but I don’t want any to be the same. How can I do that in Ditto?
Thanks,
Allen
I’m definitely starting to get the hang of this! I now have Ditto picking 3 random documents from a container and displaying them in my right column. Does anyone know how I can associate an image with each of these documents to display along side the text ?
Could I maybe create a child document or weblink that somehow Ditto can retrieve and use?
Thanks,
Allen
Create a template variable (tv) and add that one to you ditto template. now fill the tv on the documents with your image and ditto will pick the image up and put it in the template.
Perfect! Thank you for all your help. I now have a right column that contains 3 randomly chosen documents, and images displayed next to each. It has only been possible thanks to all your help. When I become more experienced with modx I will certainly look at giving back to the project.
Thanks again.
Allen