How does one do a mini view / full view using Ditto?
eg I’m doing a shopping cart with Shopx (in theory)...
Most carts have a small view, then a detailed view of an product.
Right now I’m doing my "preview" like so
<div>[!Ditto? &startID=`5`&tpl=`SummaryView` &showInMenuOnly=`1` &displayArchive=`0` &trunc=`1` &summarize=`12` &multiLevel=1 & &paginate=`1` &paginateAlwaysShowLinks=`1`!]</div>
<p><p><p>
<div id="ditto_pages">[+previous+] [+pages+] [+next+]</div>
SummaryView looks like this:
<div class="prolist">
<h3>[+title+]</h3>
[+summary+]
<br><br>
<div id="ditto_pages"><a href="[~[+id+]~]">More...</a></div>
</div>
I’d like the preview view to work as is, except call a larger view with more details when I click more (and have the shopx snippet in the more details view).
My initial attempt was to do this
<div class="list_img"><img alt="Jackets" height="187" src="images/GAD%20-Down%20Jackets/32%20575%20256_s.jpg" width="140" border="0"/></div>
<!-- splitter -->
{{FullView}}
And have fullview as a chunk with the shopx buy stuff inside.
See www.polyardshanghai.com for what I’ve got so far.
Anyone got some bones to toss my way or idea’s on how to do it, i’d appreciate it. I’ve taken a quick look at PHx, and that looks like a solution, but any other ideas would be welcome.