Working on my first Revolution site and I’m having a huge problem getting TVs to work. I have to assume I’m doing something very wrong as the non-TV fields are being processed correctly.
I have an area on my home page that will rotate some text and images.
I’ve created a document resource under "Home" called "Home Page Main Art Rotator" (id of 42).
Within this directory, I create the documents that contain the information used in this area.
In the Home content field, I put
[[!getResources? &parents=`42` &tpl=`mainArtTpl` &processTVs=`1` &includeTVs=`1` includeContent=`1` ]]
The code for the Chunk used as the template for these elements is:
<li>
<a href="[[+tv.rotatorLink]]">
<img class="switchimage" src="[[+tv.rotatorImage]]" />
<h6>Photo by [[+rotatorCredit]]</h6>
<div class="slideshow-overlay">
<h3>[[+longtitle]]</h3>
<h4>[[+description]]</h4>
</div>
</a>
</li>
rotatorLink is a URL TV
rotatorImage is an Image TV
All of the other data is showing up as expected. The TVs work perfectly well when creating the resources. I can select an image and enter the URL, but the output on the page is empty in those spaces. Like this:
<li style="z-index: 99; display: none;">
<a href="">
<img src="" class="switchimage">
<h6>Photo by </h6>
<div class="slideshow-overlay">
<h3>Headline Two</h3>
<h4>This is the description</h4>
<p></p>
</div>
</a>
</li>
I believe I’ve doing something fundamentally wrong since no TV data is being processed though they are in the DB.
I am running Revolution 2.0.2, but this was happening in 2.0.0 as well.