Hi Dmitry,

Is the rendertag code used in navigation template or inside a regular
content class?

If it is inside a regular content class, it is more performant to use
the stf_Nav directly inside if conditional rendertag

<reddot:cms>
<if>
        <query valuea="<%stf_Nav%>" operator="!=" valueb="Str:Industry">
                <htmltext>Test</htmltext>
        </query>
</if>
</reddot:cms>

-Jian

[I am now on http://www.solutionexchange.info/]


http://www.solutionexchange.info/

On Jun 27, 4:03 pm, Dmitry Terner <[email protected]> wrote:
> Any reason this won't work?
>
>                <reddot:cms>
>                     <if>
>                         <query valuea="<%!!
> Context:CurrentPage.Elements.GetElement(stf_Nav).GetHtml() !!%>"
> operator="!=" valueb="Str:Industry">
>                             <htmltext>Test</htmltext>
>                         </query>
>                     </if>
>                 </reddot:cms>
>
> Using <%!! Context:CurrentPage.Elements.GetElement(stf_Nav).GetHtml() !!%>
> by itself does show that some pages have the "Industry" string so that seems
> to work but the conditional does not.
>
> Thanks,
>
> - Dmitry

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