Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iteratite
System
When you use an iterate, the HTML generated is always populated in rows because of the "insert above or below" tab on the DCT, is there a way of populating any particular cell(s) ex cols instead?
THankx in advance
Find more posts tagged with
Comments
mogoo
Could you be more clear on your question -- maybe provide a specific example?
Migrateduser
You could put some HTML around the iteration that prints <td> and </td> around the items listed after running through the iteration. The overall picture is something like this:
<tr>
<iw_iterate>
<td>
<iw_value>
</td>
</iw_iterate>
</tr>
Hope that helps.
tecthis
Nope, not possible. You are asking if within a dct for example a paragraph replicant will show up next to it rather then beneath it. I have tried many things and have been unsuccessfull, maybe in future releases of TS they will give us more flexibility on the look and feel of a dct. We are 5.0.1.
Alex...
Alexander Correaa
alex_correa@baxter.com
Migrateduser
Guys I think I've cracked it. (well it works ) you can populate a row with two or four <td>s then the next row slots underneath
<tr>
<iw_iterate var='release' list='dcr.Repeat iteration='test'>
<iw_if expr= '( {iw_value name = "test" /} == 1 ) ||
( {iw_value name = "test" /} == 2 ) ' >
<iw_then>
<td align="left">
<iw_iterate var='para_value' list='release.bla bla'>
</iw_iterate>
</td>
<td align="right" valign="bottom">
<iw_iterate var='para_value' list='release.bla bla'>
</iw_iterate>
</td>
</iw_then>
</iw_if>
</iw_iterate>
</tr>
<tr>
<iw_iterate var='release' list='dcr.Repeat' iteration='test'>
<iw_if expr= '( {iw_value name = "test" /} == 3 ) ||
( {iw_value name = "test" /} == 4 ) ' >
<iw_then>
<td align="left">
<iw_iterate var='para_value' list='release.bla bla'>
</iw_iterate>
</td>
<td align="right" valign="bottom">
<iw_iterate var='para_value' list='release.bla bla'>
</iw_iterate>
</td>
</iw_then>
</iw_if>
</iw_iterate>
</tr>
and so on....