[TYPO3-ttnews] LIST and SINGLE in same page: Different style for the SINGLE news in in the LIST module

Jochen Rieger j.rieger at connecta.ag
Sun Mar 15 12:40:49 CET 2009


Hi Toby,

> My problem is that i want to give the selected news (in the SINGLE
> module) a special style in the LIST so the user can see what news-item
> is selected in the LIST module.

my first idea would be to use the "extraItemMarkerHook".

1) add a marker in your LIST template that would set a class to the news 
item
2) replace that marker with a certain class only if the GET var uid 
matches the uid of the actual row that is being processed

Hope that'll help ya.

Regards,
Jochen


More information about the TYPO3-project-tt-news mailing list