<reddot:cms>
<if>
<query valuea="Context:CurrentRenderMode" operator="!=" valueb="Int:2">
<htmltext>
this code is only shown on the reddot server
e.g. a RQL for transfer data from one element to another…
e.g. a RQL for transfer data from one element to another…
</htmltext>
</query>
</if>
</reddot:cms>
The possible values for rendering are:
variableType:value | | explanation |
---|---|
Int:0 | Preview mode |
Int:1 | SmartEdit mode |
Int:2 | Publishing mode |
Source :
http://blog.markusgiesen.de/2008/01/21/execute-code-only-on-the-reddot-cms-server-by-using-render-tags/