This is my first attempt at using Revolution 2.0. We’re supposed to use this instead of Ditto, now right?
So why on earth is this not displaying anything? It’s not even like the TV thing isn’t working, it doesn’t display PERIOD. Where there should be something, there is nothing. Zip, nada, zilch.
TV name: portfolio-image
getResources call
[[!getResources?
&parents=`[[*id]]`
&showHidden=`1`
&tpl=`portfolio-slider`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
]]
portfolio-slider template
<img src="[[+tv.portfolio-image]]" alt="[[+pagetitle]]"/>
Questions:
Am I supposed to put what I want the tvPrevix to be in &tvPrevix parameter, i.e.
Am I supposed to actually name my TV with the prefix, or does getResource add that on? i.e. should I name my tv,
tv.portfolio-image ?
But aside from that... I’m not even getting broken code in my html, like
<img src="" alt="">
There’s nothing at all when I view source.