Hi there,
This used to be so straightforward with Evo, but I just can’t get it working with Revolution.
I’m trying to use Ditto to display a news summary on the home page of my site. I can call the pagetitle and introtext, but can’t seem to get a template variable to work, although its been associated with the right template, and has been populated with content.
My chunk is called ’newsSummary’ and looks like:
<img src="[[*newsThumb]]" width="120" alt"[[*newsThumbDesc]]" />
<div class="news-text"><h2>[[+pagetitle]]</h2>
<p>[[+introtext]]</p>
<p>[[+link]]</p>
</div>
My Ditto call is:
[[Ditto? &parents=`2` &tpl=`newsSummary` &orderBy=`createdon ASC` &display=`3` &dateFormat=`%e %B %Y`]]
I’ve checked that the TVs are being associated with the correct templates, and I’ve checked the spelling of the TVs.
Any help would be very much appreciated.
Thanks