Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
nested replicant tpl ie needed
nico
Can someone show me how something in a nested replicant should be coded into a tpl?
Find more posts tagged with
Comments
nico
Forget it I got it.
nico
ok i do need an example its not working for me
manju166
Here is an example. hope it works
iw_iterate list='dcr.News Article' var='News' iteration='ArticleNum'>
<iw_if expr="{iw_value name='$ArticleNum'/} > 0">
<iw_then>
<![CDATA[<tr>
<td colspan="2" class="Header">
<p><iw_value name='News.Headline Text'/></p>
</td>
</tr>
<tr>
<td colspan="2" class="Content">
<p style="padding-bottom: 10"><iw_value name='News.Headline Month'/> <iw_value name='News.Headline Day'/>, <iw_value name='News.Headline Year'/></p>
</td>
</tr>
<tr>
<td colspan="2" class="Content"><p>]]>
<iw_if expr="{iw_value name='News.Body Text Image'/} ne ''">
<iw_then>
<![CDATA[<img src="{iw_value name='News.Body Text Image'/}" width="80" height="80" align="right" vspace="8" hspace="8">]]>
</iw_then>
</iw_if>
<iw_value name='News.Body Text'/>
<![CDATA[</p></td>
</tr>]]>
</iw_then>
</iw_if>
</iw_iterate>
manju