Hi,

On Tue, May 6, 2008 at 9:18 PM, sergio <[EMAIL PROTECTED]> wrote:
> thanks!
>
>  i added this:
>
>                         ACT
>                         {
>                                 linkWrap =  |
>                                 wrapItemAndSub = <li> | </li>
>                                 ATagParams = class="current"
>                                 ACT = 1
>                         }
>
>  and the result is closer, but not all the way..
>
>  what i end up with is the menu displaying, BUT.. the active page is
>  not enclosed in <li> tags.. so it is just an <a> element hanging out
>  on it's own...
>
>  i have moved ACT=1 around a bit, but the results are awlways the same..


Check around the web for HMENU and TMENU samples (maybe search out the
Typoscript by Example manual for a start)...you'll find the following
structure a lot. The ACT part copies the entirety of the NO part, and
the additional ATagParams property (and any others) adds the class to
the links output by the ACT object only.

NO {
  ...
  ...
  ...
}

ACT < .NO
ACT {
  ATagParams = class="foo"
}

-- 
Christopher Torgalson
http://www.typo3apprentice.com/
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to