Preventing generation of output channels in templates

Occasional Collector
3 5 784

Sometimes a given output channel does not need to be generated or there is a need to prevent the generation of an output channel based on a various criteria in an if-statement. This can be achieved by using the following statement in the given output channel:

$CMS_SET(#global.stopGenerate, true)$

Using this statement the whole output channel will not be generated.

Version history
Last update:
‎06-18-2010 03:17 AM
Updated by: