Hi, The given solution using .Elements.GetElement will introduce performance issue to the project. I recommend using Gavin's solution here:
https://groups.google.com/forum/#!topic/reddot-cms-users/F9_QR146S4Q On Thursday, May 15, 2014 4:32:19 AM UTC-4, Fatlind Ameti wrote: > > <reddot:cms> > <if> > <query valuea="Context:CurrentPage.Elements.GetElement(stf_title).Value" > operator="!=" valueb="Escape:EmptyString"> > <htmltext> > <title>stf_title is <%stf_title%></title> > </htmltext> > </query> > <query type="else"> > <htmltext> > <title>hdl_title is <%hdl_title%></title> > </htmltext> > </query> > </if> > </reddot:cms> > > Am Freitag, 9. Mai 2014 17:07:27 UTC+2 schrieb Nathan Daugherty: >> >> I'm trying this, >> >> <reddot:cms> >> <if> >> <query valuea="Context:CurrentPage.Elements.GetElement(stf_title).Value" >> operator="!=" valueb="String:"> >> <htmltext> >> <title>stf_title is <%stf_title%></title> >> </htmltext> >> </query> >> <query type="else"> >> <htmltext> >> <title>hdl_title is <%hdl_title%></title> >> </htmltext> >> </query> >> </if> >> </reddot:cms> >> >> and it does not work. Supposed to be if stf_title has any value, then >> output it, otherwise output hdl_title >> >> Any ideas what I'm doing wrong? >> >> Thanks! >> > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.
