This is kind of hard to explain so bear with me :-/
I have a getResources call using the following chunk. Essentially, it outputs a couple of resources with a simple 2 column layout...
- a PDF thumbnail image on the left
- a description and download link to the right
<div class="listing-container">
<div class="listing-left">
[[+tv.Picture]]
</div>
<div class="listing-right">
<h2>[[+pagetitle]]</h2>
[[+content]]
[[$Get-PDF-Download]]
</div>
</div>
Inside the above chunk, I have another chunk which calls a TV (pdf-link) where I specify a link to a PDF.
<a href="[[+tv.pdf-link]]">Download PDF</a>
My problem is the PDF link is always the first link I specify in the first resources pdf-link TV. So I end up with a list of PDFs and their description but the link is incorrect.
Hope that makes sense? Any help would be greatly appreciated.