Ok, I repeat the code "[[treasureChest? & Item =` 1 `]]" increasing the item (1,2,3,4,5 ,...).
But as shown in Figure, the code "[[treasureChest? & Item =` 1 `]]" appears to the user, and only list the same product on the page.
How does your snippet calls look if you click on the html "icon" in TinyMCE (the backend-editor).
I think the rich-text editor has added some invisible code that prevents your snippet calls from being parsed.
MODx snippet-glossary 101:
Ditto = Content Lister -- Wayfinder == Menu Builder -- Jot = Comment Control
Hi all, still trying to get my head around TC.
Do I understand correctly that the treasure chest place holders are not available to ditto? How do I create a structured list of products on a summary page (ditto) where I display the various product elements such as product name, description price, size, and a thumbnail, etc?
I suppose I could call the [+summary+] placeholder and the data displayed on the product page would appear, but I then lose the ability to select individual data elements for the summary page and to control placement of them.
I could create a TV for each one of these elements on the product page and then call those from ditto, but I’d be entering some of the data twice creating potential data sync problem.
I think I’m off track on this but don’t know how to make this work.
Also, still trying to find out if TC requires phpThumb be installed?
Been stuck on this for several days now.
Suggestions?
www.terrybarthdesign.com
Thank Bunk58
I think you’ve confirmed what I had thought. Since I can’t include the TC place holders directly in the ditto tpl, I will have to call the content area from the product page that contains the output of those place holders. Then I can add any additional TVs from the product page to the ditto tpl for the summary page if needed.
The TC data output on the product page will have to be formatted in the same was I want it to appear on the summary page.
Product Page:
Content Area: TC placeholder output for item, price, inventory, image thumb, etc.
TV for Short Description: Short text description
TV for Full product info: Additional product information, specs, images, etc.
Summary Page:
The ditto call will include a tpl that displays the content area from the product page plus any additional TVs created for each product.
I think this will work. Let me know if I missed anything.
Thanks again for helping me with this.
Terry
www.terrybarthdesign.com