i have the following code for getresources, which i call from a template:
[[!getResources? &parents`[[*id]]` &includeTVs=`1` &processTVs=`1` &limit=`30` &sortbyTV=`Projektnummer` &sortdirTV=`DESC` &tpl=`cardTpl`]]
and my cardTpl looks like this:
<div class="entry" id="[[+alias?]]" >
<div class="wrapper">
<div class="proj_entry_title">
<p>[[+tv.projectName?]]</p>
<h2>[[+tv.ProjectSub?]]</h2>
</div>
<div class="entry_image"> [[+tv.projectCardImg]]</div>
</div>
</div>
getresources seems to get the right resources, displays them correctly with cardTpl, names the entries correctly with the alias, but does not include any TVs. i don’t see the variables, it’s all empty.
i don’t get it. everything seems to be correct. what am i doing wrong? please help!