Question

I have the following getResources line:

[[!getResources? &parents=`5` &tpl=`projlink` ]]

Then in the chunk I am using as a template (projlink) I have:

<div class="projname">[[+pagetitle]]</div>
<div class="projinfo">[[+tv.projinfo]]</div>

Now the pagetitle displays fine but not the TV.

Naturally I have checked that the resources retrieved do have templates that have the projinfo TV and that is all fine. I just dont know whats going on - this all seems correct to me. Can anyone help me out at all?

Was it helpful?

Solution

use the includeTVs flag.

[[!getResources? &parents=`5` &tpl=`projlink` &includeTVs=`1` ]]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top