display only in smartedit mode

2010-08-21 Thread Programmerboy
Hello, I have a user requirement where they want to publish certain content if they select YES from option list, but if they select NO then they only want to see the content only in smartedit and not publish. I am using following code but it is not working and showing both. What I am doing wrong a

Re: display only in smartedit mode

2010-08-21 Thread Tony Gayter
Have a look at the CurrentRenderMode in the rendertags manual On 21 August 2010 21:46, Programmerboy wrote: > Hello, > > I have a user requirement where they want to publish certain content > if they select YES from option list, but if they select NO then they > only want to see the content only

Re: display only in smartedit mode

2010-08-22 Thread Programmerboy
where can I get that manual? On Aug 21, 7:55 pm, Tony Gayter wrote: > Have a look at the CurrentRenderMode in the rendertags manual > > On 21 August 2010 21:46, Programmerboy wrote: > > > > > Hello, > > > I have a user requirement where they want to publish certain content > > if they select YES

Re: display only in smartedit mode

2010-08-22 Thread TonyGayter
Its the navigation manager manual, download it from opentext knowledge base, You can replace all the asp with rendertags aswell if you wanted to > > > > Have a look at the CurrentRenderMode in the rendertags manual > > > On 21 August 2010 21:46, Programmerboy wrote: > > > > Hello, > > > > I ha

Re: display only in smartedit mode

2010-08-22 Thread Andreas Thumfart
You have to use one single PreExecute block. Your code should look like this: <% If "<%optIsPollActive%>" = "YES" Then %> <%conPoll%> <% ElseIf "<%optIsPollActive%>" = "NO" Then %> <%conPoll%> <% End if %> -- You received this message because you are subscribed to the Google Groups "RedD

Re: display only in smartedit mode

2010-08-22 Thread markus giesen
Here is an example for what you want: http://bit.ly/agS96p Cheers, Markus http://reddotcmsblog.com On 22 Aug., 18:06, Andreas Thumfart wrote: > You have to use one single PreExecute block. > Your code should look like this: > > > <% If "<%optIsPollActive%>" = "YES" Then %> > > <%conPoll%> > > <

Re: display only in smartedit mode

2010-08-23 Thread Programmerboy
Thanks Marcus and all. Does this seems ok then? <% If "<%optIsPollActive%>" = "YES" Then %> <%conPoll%> <% ElseIf "<%optIsPollActive%>" = "NO" Then %> <%conPoll%>

Re: display only in smartedit mode

2010-08-24 Thread markus giesen
Try: <%conPoll%> <%conPoll%>

Re: display only in smartedit mode

2010-08-24 Thread Programmerboy
Thanks Marcus, I will push my employer to get me the account. Just for my knowledge, do render tags work in all versions of reddot? On Aug 24, 5:07 am, markus giesen wrote: > Try: > > >           >                 operator="==" valueb="String: > YES"> >                   >                  

Re: display only in smartedit mode

2010-08-24 Thread kimdezen
If im not mistaken, i believe it was 7.5 and onwards... On Aug 25, 12:58 am, Programmerboy wrote: > Thanks Marcus, I will push my employer to get me the account. > > Just for my knowledge, do render tags work in all versions of reddot? > > On Aug 24, 5:07 am, markus giesen wrote: > > > Try: > >