Some sample code:

<reddot:cms>
<if>
<query
valuea="Context:CurrentPage.Elements.GetElement(stf_visibleInMenu).GetHtml()"
operator="==" valueb="y">

<htmltext>
<li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>" class="active"><
%!! Context:CurrentPage.Headline !!%></a>
</htmltext>

        <if>
        <query valuea="Context:CurrentIndex.HasChildren()" operator="=="
valueb="Bool:True">
                <htmltext>
                <ul><navigation:nextlevel></ul>
                </htmltext>
        </query>
        </if>

</query>
</if>
</reddot:cms>

Basically it takes a standard navigation template conditional query
and wraps it in another query looking at the value stored in
'stf_visibleInMenu': if it's 'y', continue with the script; if it's
'n' don't do anything.
--~--~---------~--~----~------------~-------~--~----~
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