I want to make use of the ContentCollection feature within the GoodNews extra, but I can’t figure out, how to display an image TV from the fetched resources.
I tried adding [[+tvname]] and [[+tv.tvname]] to the tpl chunk without luck. Is this possible at all or are TVs not being processed with this snippet?
Looking at the code, it seems that no TVs are processed in the snippet “GoodNewsContentCollection”.
You probably could duplicate the snippet and adjust it to also query your TV.
Use $tv_value = $resource->getTVValue('tvname'); to get the value of the TV and then add it to the $properties array before it is used ($properties['tvname'] = $tv_value):
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.