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

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


Great, almost there.  I have a couple more questions.

1) What, if anything, did the ACT do for me?  I have changed the navigation
portion of my template to be the following:
  subparts.NAVIGATION= HMENU
  subparts.NAVIGATION.1 = TMENU
  subparts.NAVIGATION.1 {
    NO.allWrap = <li>|</li>
    CUR = 1
    CUR.doNotLinkIt = 1
    CUR.allWrap = <li class="active">|</li>
  }
2) The Home page does not work.  I assume this is because I created a home
page on the menu by adding a shortcut page that points back to the root.
Therefore the link that send the user back home is not to the page that is
being rendered when the user is home.  Is there a way to avoid this?

Finally, I must say again how impressed I continue to be with the Typo3
community.  I am very pleased with the responsiveness, patience and
technical expertise of the responses I get on this mailing list.




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

On 3/20/06, JoH <info at cybercraft.de> wrote:
>
> >   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.
>
> CUR = 1
> is missing
>
> And: Yes, you can assign another allWrap to the CUR section like you
> already
> did in the ACT section.
>
> Joey
>
> --
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your knob sometimes!)
> Dieter Nuhr, German comedian
> openBC: http://www.cybercraft.de
>
>
> _______________________________________________
> 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