Hi Jim,
Here is a sample snippet:
<reddot:cms>
<if>
<query valuea="Context:CurrentRenderMode" operator="==" valueb="Int:2">
<htmltext>
Some text
</htmltext>
</query>
</if>
</reddot:cms>
The render modes will help u render code in smartedit, preview, publish
modes.
Thanks,
Prasanth
Prasanth Nittala - Technical Architect - Oshyn, Inc. - Powering Innovation T
Phone 213.483.1770 ext 111 | Fax 213.612.0291 | Web www.oshyn.com
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of JimV
Sent: Wednesday, August 12, 2009 1:46 PM
To: Prasanth Nittala
Subject: [!! SPAM] [reddot] including php code
I would like to include some php code that would be included in the
published page, but not executed in RD smart edit or in preview.
I found some information in the RD manual
(rdcms_90_content_classes_en_US_letter.pdf), but it appears to discuss
how to include code that executes IN smart edit. It doesn't appear to
tell how to include it so it executes only in the published page.
Can anyone provide a short example?
Thanks
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---