Cyclone3 Skin

Tips and tricks:Modules

From Cyclone3 Wiki

  • disable caching in module
delete $Tomahawk::mdl_C{'-cache_id'};
  • enable specific module in servicetype according to variable value
<MODULE>
  <VAR id="-enabled" value="<#$main::env{'onlymembers'}>" />

  <VAR id="-type" value="dmdl" />
  <VAR id="-global" value="2" />
  <VAR id="-category" value="21" />
  <VAR id="-name" value="section-article" />
  
    <VAR id="-TMP" value="CONTENT-CENTER" />
</MODULE>
  • disable specific module in servicetype according to variable value
<MODULE>
  <VAR id="-disabled" value="<#$main::env{'onlymembers'}>" />

  <VAR id="-type" value="dmdl" />
  <VAR id="-global" value="2" />
  <VAR id="-category" value="21" />
  <VAR id="-name" value="section-article" />
  
    <VAR id="-TMP" value="CONTENT-CENTER" />
</MODULE>