[TYPO3-calendar] List and Event on Same Page => List active State?

Mario Matzulla mario at matzullas.de
Fri Jun 3 16:46:29 CEST 2011


Hi Sebastian,

Am 03.06.11 10:29, schrieb Sebastian Reinhardt:
> Hi
> I'm using the latest Cal (=>svn)...
>
> On my calendarsite, i have got a cal plugin on the left showing the
> event-list and another plugin on the right. The right one has got the
> allowed views list and singleEvent, so i can show the upcomingevent on
> page load (using the List) and when i click on an event(link) in the
> list(left plugin) the page reloads and the choosen event shows up in my
> right plugin. (hope thats clear so far ;) )
>
> now i would like to add a class like "active" to the link in the left
> plugin, which eventview is showing in my right plugin...
> is that possible?
> any ideas?

The links are generated through typoscript, which you could tweak to 
check for certain piVars in the url (tx_cal_controller[type] and 
tx_cal_controller[uid] + for recurring events: 
tx_cal_controller[getdate]). If you compare those with the data of the 
current event to be linked to, you could add another class to the link.

Regards,
Mario
>
> thx for help
>
> Sebastian



More information about the TYPO3-project-calendar mailing list