[TYPO3] How do I make the current Menu Item not a link?

Patrick O'Hara pdohara at practicalprogrammer.org
Mon Mar 20 15:19:43 CET 2006


I tried this:
  subparts.NAVIGATION.1 {
    NO.allWrap = <li>|</li>
    ACT = 1
    ACT.allWrap = <li class="active">|</li>
    CUR.doNotLinkIt = 1
  }

And it does not seem to be working.  Should the CUR be at a different
level?  Also can I use CUR.allWrap to change the HTML that wraps the
insert?  I want it to have a different CSS class.




--
Tanks for your Support
Pat O'Hara
  _      _      _
 /*\==  /*\==  /*\==
<ooo>  <ooo>  <ooo>

On 3/18/06, Surer Dink <surerlistmail at gmail.com> wrote:
>
> On 3/18/06, Patrick O'Hara <pdohara at practicalprogrammer.org> wrote:
> > Here is the typo script for handling my navigation:
> >   subparts.NAVIGATION= HMENU
> >   subparts.NAVIGATION.1 = TMENU
> >   subparts.NAVIGATION.1 {
> >     NO.allWrap = <li>|</li>
> >     ACT = 1
> >     ACT.allWrap = <li class="active">|</li>
> >   }
> >
> > I thought that the ACT was the active, or current page.  Can someone
> point
> > me to a document that explains how I make the current item in the
> navigation
> > not a link?
>
> CUR.doNotLinkIt = 1
>
> (despite what it sounds like - no, I'm not kidding)
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list