I want to be able to display a entry form when a user is in edit mode,
but a different layout when not editing and in reality, what the page
will be when published.

The following class code  kinda works as it displays the 'rendered'
asp code when not in edit mode and the simple entry of the two values
when IN edit mode, however I'm missing something as NOTHING shows up
in page preview (and obviously nothing is published as well).

Any hints on direction would be appreciated.
(Yes, I am a newbie)




<!-- User edits this in CMS -->
<!IoRangeRedDotMode>
<!IoRangeRedDotEditOnly>

Enter the following items:<br />
dummysq1: <%std_DummySQ1%> <br />
dummysq2: <%std_DummySQ2%><br />

<!/IoRangeRedDotEditOnly>
<!/IoRangeRedDotMode>


<!-- Show this when not in edit mode, publishing, etc. -->
<!IoRangeNoEditMode>
<!IoRangePreExecute>
    <%
        dummysq1      = "<%std_DummySQ1%>"
        dummysq2      = "<%std_DummySQ2%>"
        totalDummy = CInt(dummysq1) + CInt(dummysq2)
    %>
The total is: <%=totalDummy%>
    <!/IoRangePreExecute>
 <!/IoRangeNoEditMode>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to