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)
selective use of includes with iw_include
SethHickel
Wondering how do I get a file include using iw_include to only output in visual preview, and not output to a generated file?
Find more posts tagged with
Comments
SethHickel
Is this via the use of -iw_pt-preview? Any examples out there?
Adam Stoller
There have been numerous posts about using Perl code in PTs (not XSLT) to determine whether it is being run in preview or generate mode. Unfortunately (ironically?) the only example I can find easily through Search right now is one that appeared erroneously in a thread regarding XSLT - but hopefully
this
will help anyway.