<query valuea="<!IoRangeConditional>Int:1<!IoRangeRedDotMode><! IoRangeNoRedDotMode><%img_faculty%><!/IoRangeNoRedDotMode><!/ IoRangeRedDotMode><!/IoRangeConditional>" operator="!=" valueb="Int: 0">
Or you could just use the conditional without render tags. On Nov 12, 3:01 am, Jian Huang <[email protected]> wrote: > side note, please ensure property of img_faculty is "insert path and > file name only", else the entire image tag would be generated and > broke the rendertag. > > values within rendertag are assumed to be String, so the String > declaration can be skipped. > > On Nov 10, 9:05 am, Rodger <[email protected]> wrote: > > > this query string will work: > > <query valuea="String:<%img_faculty%>" operator="!=" valueb="String:"> > > or you can use some preexecuting scripts like: > > <% if "<%img_faculty%>" = "" then %> > > .... > > <% end if %> > > > -Rodger > > > At 2010-11-10 19:39:27,Tiffany <[email protected]> wrote: > > > >I am trying to write an if/else statement to do something if a > > >placeholder is not null. Here is my query string: > > > > <query valuea="<%img_faculty%>" operator="!=" valueb="Int:0"> > > > >Unfortunately this does not work, nor does any other combination of > > >null or empty that I have tried. I also tried something along the > > >lines of: > > > > <query valuea="CurrentPage.Element.Value(<%img_faculty%>)" operator="! > > >=" valueb="Int:0"> > > > >Does anyone know the correct syntax for this? Thanks in advance. > > > >-- > > >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 > > >athttp://groups.google.com/group/reddot-cms-users?hl=en. -- 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.
