[[!getResources? &parents=`22` &tpl=`FrontPageNews` ]]
[[*image]] <h2> <a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a> </h2> <p class="teaser">[[+introtext]] <a href="[[~[[+id]]]]"><span class="caption">Read more</span></a></p> <hr/>
<img alt="" src="[[+tv.image]]" />
That’s because you didn’t include &includeTVs=`1` in your getResources call.
[[+tv.image]] fails on all pages. [[*image]] works on those pages within id22 which is my news container.
It is in the default processing parser. But we’re talking about getResources, an Extra. getResources (like Ditto and Wayfinder and nearly any addon for MODx) has its own placeholder syntax for TVs. getResources says to use [[+tv.name]].
i thought that [*tv*] was replaced by [[*tv]]? not [[+tv.name of template variable]]
[[!getResources? &parents=`22` &tpl=`FrontPageNews` &includeTVs=`1` ]]
[[+tv.image]] <h2> <a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a> </h2> <p class="teaser">[[+introtext]] <a href="[[~[[+id]]]]"><span class="caption">Read more</span></a></p> <hr/>
assets/images/news/dscf1068.jpg
<img alt="" src="[[+tv.image]]" />