I want to set up a title tag to be either one placeholder or another, based 
on whether the first has any content. This is what I've tried...

<reddot:cms>
<if>
<query valuea="Context:CurrentPage.Elements.GetElement(stf_title).Value" 
operator="!=" valueb=""> 
<htmltext> 
<title><%stf_title%></title>
</htmltext> 
</query>
<query type="else">
<htmltext> 
<title><%hdl_title%></title> 
</htmltext> 
</query>
</if>
</reddot:cms>

On line 2, I've also tried valueb="String:" 

I want it to have the stf_title if that element has any content, otherwise, 
output the other.

What am I missing?

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.

Reply via email to