It woul dbe much easier to use navigation manager for this.

If you know the navigation is not going ot have additional pages you
can do it this way

<reddot:cms>
      <if>
<query valuea="Context:CurrentLevelCount" operator="==" valueb="Int:
7">
       <htmltext>
             <li id="item" class="navlast">
<a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
Context:CurrentIndex.Headline !!%></a> </li>
 </htmltext>
   </query>
 <query type="else">
   <htmltext>
 <li id="item">
<a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
Context:CurrentIndex.Headline !!%></a> </li>
 </htmltext>
   </query>
      </if>
 </reddot:cms>




On Apr 30, 3:37 pm, manikandan rajuiyer
<[email protected]> wrote:
> yes.. i tried with the code you have given.. still it is not
> working...
>
> On Apr 30, 7:28 pm, TonyGayter <[email protected]> wrote:
>
>
>
>
>
> > Is this a navigation template for a nav area?
>
> > I woul dhave two templates, one for teh first 6 levels
>
> > <li id="item"><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentIndex.Headline !!%></a> </li>
> > <navigation:nextlevel>
>
> > and one for teh seventh level
>
> > <li id="item" class="navlast"><a href="<%!!
> > Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentIndex.Headline !!%></a> </li>
>
> > Otherewise try this
>
> > <reddot:cms>
>
> >       <if>
> > <query valuea="Context:CurrentLevelCount" operator="&lt;" valueb="Int:
> > 7">
> >        <htmltext>
> >   <li id="item">
> > <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentIndex.Headline !!%></a> </li>
> >  </htmltext>
> >    </query>
> >  <query type="else">
> >    <htmltext>
> >   <li id="item" class="navlast">
> > <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentIndex.Headline !!%></a> </li>
>
> >  </htmltext>
> >    </query>
> >       </if>
>
> >  </reddot:cms>
>
> > On Apr 30, 3:21 pm, manikandan rajuiyer
>
> > <[email protected]> wrote:
> > > Hi tony,
>
> > > I wanted to display only the first 6 pages in the Navigation. I use
> > > the following code as you suggessed. But it is displaying all the
> > > pages that i connected in the lst_nav. I wanted to display only the
> > > first 6 pages. The condition not seems to be satisfied. Could you
> > > please tell me what is the problem in the code.
> > > <reddot:cms>
>
> > >        <if>
> > > <query valuea="Context:CurrentLevelCount" operator="&lt;=" valueb="Int:
> > > 6">
> > >         <htmltext>
> > >    <li id="item">
> > > <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > > Context:CurrentIndex.Headline !!%></a> </li>
>
> > >   </htmltext>
> > >     </query>
> > >  <query type="else">
> > >     <htmltext>
> > >    <li id="item" class="navlast">
> > > <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > > Context:CurrentIndex.Headline !!%></a> </li>
>
> > >  </htmltext>
> > >     </query>
> > >        </if>
>
> > >   </reddot:cms>
>
> > > Thanks
> > > Regards
> > > Manikandan R
>
> > > On Apr 30, 6:31 pm, TonyGayter <[email protected]> wrote:
>
> > > > I use
>
> > > > &gt;=
>
> > > > &lt;=
>
> > > > On Apr 30, 2:29 pm, manikandan rajuiyer
>
> > > > <[email protected]> wrote:
> > > > > Hi All,
>
> > > > > Can anyone tell me what are all the operators suppored in Rendertags.
> > > > > I can see only != and == opearators suppored by reddot. I want to know
> > > > > the operator for <=, >= etc.
>
> > > > > I checked with <= operator. it is not seems to be working?
>
> > > > > can anyone help me out?
>
> > > > > Thanks
> > > > > Regards
> > > > > Manikandan R
>
> > > > > --
> > > > > 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 
> > > > > athttp://groups.google.com/group/reddot-cms-users?hl=en.
>
> > > > --
> > > > 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 
> > > > athttp://groups.google.com/group/reddot-cms-users?hl=en.-Hidequotedtext 
> > > > -
>
> > > > - Show quoted text -
>
> > > --
> > > 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 
> > > athttp://groups.google.com/group/reddot-cms-users?hl=en.-Hidequoted text -
>
> > > - Show quoted text -
>
> > --
> > 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 
> > athttp://groups.google.com/group/reddot-cms-users?hl=en.-Hide quoted text -
>
> > - Show quoted text -
>
> --
> 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 
> athttp://groups.google.com/group/reddot-cms-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

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