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)
skipping an iteration
nico
I have a scenario where we have a press relases page, the page is generated from a dct that simply iterates the date and title of each pr.
Now they want to flag a particular iteration to not show on the tpl.
I have simply added a checkbox on the iteration in the dct that allows them to check it if it should not show.
But what would the source on the tpl look like?
Thanks,
Nico
Find more posts tagged with
Comments
MattP
set the default value to show, and the checked value to somehting else. Then in the PT
<iw_iterate var="y" list="dcr.repeats">
<iw_if expn="{iw_value name='y.flag'/} eq 'show'">
<iw_then>
show press release
</iw_then>
</iw_if>
</iw_iterate>
Hope this helps
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA
nico
Thanks all good now