If you dont want the home page to show just use create a template with
<navigation:nextlevel> in it and use that for your level 1 selected
template (because as far as nav manager knows the first level is
always selected. :)

On Dec 20, 8:52 pm, tportman <[email protected]> wrote:
> Hi Tony,
>
> Thanks for the quick advice. When I use <%!!
> Context:CurrentPage.Headline !!%>  on my level 1 left nav template it
> always returns my Home Page?
>
> this is my left nav template for level one pages:
> <div class="sectionTitle">
>      <%!! Context:CurrentPage.Headline !!%>
> </div>
> <ul class="leftNav">
>      <navigation:nextlevel>
> </ul>
>
>  level 2 (selected/not selected)
> <navigation:nextlevel>
>
> level 3 (selected)
> <li class="on"><a href="<%!!Context:CurrentIndex.GetUrl()!!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a>
>     <reddot:cms>
>         <if>
>             <query valuea="Context:CurrentIndex.HasChildren()"
> operator="==" valueb="Bool:True">
>                 <htmltext>
>                 <ul><navigation:nextlevel></ul>
>                 </htmltext>
>             </query>
>         </if>
>     </reddot:cms>
> </li>
>
> level 3 (not selected)
> <li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a></li>
>
> level 4 (selected)
>
> <li><a class="on" href="<%!!Context:CurrentIndex.GetUrl()!!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a>
>
>  <reddot:cms>
>         <if>
>             <query valuea="Context:CurrentIndex.HasChildren()"
> operator="==" valueb="Bool:True">
>                 <htmltext>
>                     <ul>
>                      <navigation:nextlevel>
>                   </ul>
>                 </htmltext>
>             </query>
>         </if>
>     </reddot:cms>
> </li>
>
> level 4 (not selected)
> <li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a></li>
>
> level 5 (selected)
> <li><a class="on" href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a></li>
>
> level 5 (not selected)
> <li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a></li>
>
> On Dec 20, 2:28 pm, TonyGayter <[email protected]> wrote:
>
>
>
> > Very easy,
> > create a template which is just
>
> > <li>
> > <a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentPage.Headline !!%></a>
> > <reddot:cms>
> >     <if>
> >         <query valuea="Context:CurrentIndex.HasChildren()"
> > operator="==" valueb="Bool:True">
> >             <htmltext>
> >                 <ul>
> >                     <navigation:nextlevel>
> >                 </ul>
> >             </htmltext>
> >         </query>
> >     </if>
> > </reddot:cms>
> > </li>
>
> > And assign it to level 1 'selected' of the side navigation area.
>
> > create another template with the following and assign it to level 2
> > selected/unselected
>
> > <li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
> > Context:CurrentPage.Headline !!%></a></li>
>
> > Then just put the nav area into the page (surrounded by ul tags, if
> > you dont want it output as a list just remove the li tags )
>
> > On Dec 20, 7:42 pm, tportman <[email protected]> wrote:
>
> > > I have a site navigation as follows:
>
> > > Top Nav
> > > page1     page2     page3   page4
>
> > > Left Nav
> > > Page1
> > >   page a
> > >   page b
> > >   page c
>
> > > or if I'm on list Page2 should look like this
> > > Left Nav
> > > Page2
> > >    page d
> > >    page e
> > >    page f
> > > -------------------------
>
> > > What I'm having trouble is displaing Page1 or Page2 in my left nav.
> > > Any ideas?- Hide quoted text -
>
> > - Show quoted text -- 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