Hi,

We're very close to achieving our goal in Navigation Manager, but
there's a bit of a road block for us at the moment.  Our goal is to
remove level 1 and show level 2 and below (3-10).  But there's a
condition, we want to only show the the active link and children in
level 2, but *hide* level 2's neighbors and their children.

For example:

Our Navigation Structure looks like this:

Start Page
|
|____Ted
        |____Father
|
|____Alice
        |____Mother
|
|____Jenny
        |____Daughter


Our Navigation Area on a page should end up looking like this:

If your on "Ted" tree:

Ted
  |____Father

If your on "Jenny" tree:
Jenny
  |____Daughter



We're essentially trying to remove all links on level 2 that are not
selected or active.  So, here's our script that drives level 1
(selected/not selected) in order to skip/remove the Start Page from
the navigation:

<reddot:cms>
<htmltext>
                    <navigation:nextlevel>
</htmltext>
</reddot:cms>


Here's our script that drives level 2-10 (selected/not selected)
that's not working at the moment:

<li>
    <reddot:cms>
        <if><query valuea="Context:CurrentIndex" operator="=="
valueb="Context:LastIndex">
                <htmltext>
                    <b><%!! Context:CurrentIndex.Headline !!%></b>
                </htmltext>
           <if><query valuea="Context:CurrentIndex.HasChildren()"
operator="==" valueb="Bool:True">
                <htmltext>
                     <ul>
                        <navigation:nextlevel>
                    </ul>
                </htmltext>
           </query></if>
        </query></if>


       <if><query valuea="Context:CurrentIndex" operator="!="
valueb="Context:LastIndex">
                <if><query valuea="Context:CurrentLevel" operator="gt"
valueb="2">
                <htmltext>
                    <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><
%!! Context:CurrentIndex.Headline !!%></a>
                </htmltext>
            </query></if>
         </query></if>


    </reddot:cms>
</li>


I hope made myself clear as to what we're trying to accomplish!  It's
still pretty confusing, but we're hoping a little help from the
experts will make everything clear to us.

Thanks!!!


Tom Black
--~--~---------~--~----~------------~-------~--~----~
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