In my global template I have a piece of ASP code which just includes an external file in one of the columns. During active assembly this include file won’t show. So is there a way to setup a velocity if statement saying something along the lines if in assembly show this, otherwise do this ??
Basically I need to see a column during active assembly but not publish that piece out during publishing.
Shane
I think $sys.activeAssembly is true if in Active Assembly. I’ve used it to hide stuff when in Active Assembly.
There is also a variable called $sys.ltActiveAssembly but I’m not sure what the difference is.
Andrew.
Thanks guys. The sys_context seems to do the trick. After doing some searching in the forum I came across this post
http://forum.percussion.com/showthread.php?t=740&highlight=sys_context
Which seems to do exactly what I"m looking for…
Shane