-
- 13 Posts
Hello, I'm using getResources to show news items.
I created a template variable called "icon" that I can access from a news resource page. I want that TV to show up in my chunk. This template variable's input and output is an image. I also made sure that my template is a resource that can access this template variable.
Here is my call:
[[!getResources? &parents=`29,30,31,32,33` &limit=`10` &tpl=`blog_tpl` &includeContent=`1` &includeTVs=`1` &processTVs=`1` &showHidden=`1`]]
Here is my "blog_tpl" chunk:
<div class="large-12 medium-12 small-12 columns">
<div class="copy-border-entry">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20" valign="top">[[*icon]]</td>
<td width="10"> </td>
<td valign="top">
<h2>[[+pagetitle]]</h2>
<p><small>Posted on: [[*publishedon]]</small></p>
<p>[[+introtext]]</p>
<p><small><a href="[[~[[+id]]]]">Read More</a></small></p>
</td>
</tr>
</table>
</div>
</div>
I can't seem to get the "icon" image to show up on my page. Am I doing something wrong?
Any help or direction would be welcomed!!!
G
-
- 13 Posts
Thanks!! works like a charm!!
G