[TYPO3] assigning a class to the currently selected menu link

Christopher bedlamhotel at gmail.com
Tue Apr 18 18:05:37 CEST 2006


On 4/18/06, oneilch <oneilch at yahoo.com> wrote:
> Assigning a class to the currently selected menu link
> when it is on it associated web page.
>
> My sample typoscript - it does not work.
> But I am just providing it as a starting point.
>
> tt_content.menu.20.default.1.NO.ATagParams =
> id="mylink"
> tt_content.menu.20.default.1.CUR.ATagParams =
> class="current"
>
> Line (2)two - the section with CUR does not work,
> could someone please assist.

Replace 'CUR' with 'ACT'--and try the TS By Example manual [1].

-Christopher

[1] http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/view/7/2/



More information about the TYPO3-english mailing list