[TYPO3-english] typoscript creating another li above the active li?
Dmitry Dulepov
dmitry at typo3.org
Tue Dec 2 15:59:33 CET 2008
Hi!
Clay Sissing wrote:
> Need to put a class on the active link. The script below is doing that
> as well as creating a li above the active link.
Sure, look:
> NO {
> allStdWrap {
> wrap = <li>| </li>
...
> ACT < .NO
>
> ACT = 1
>
> ACT.linkWrap = <li
> class="active"> |</li>
You see, you make extra <li> for the active item!
Slution: move your first <li> to NO.linkWrap.
--
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_to_enable_memcached_cache_in_typo3_43/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
More information about the TYPO3-english
mailing list