[TYPO3-calendar] Name of event owner and display current events

Mario Matzulla mario at matzullas.de
Tue Jan 24 17:33:49 CET 2012


Hi Christian,

Am 24.01.12 13:02, schrieb Christian Welzel:
> Hi there,
>
> 2 questions today:
>
> 1) is it possible to show the name of the owner of an event in the
>     list view? ###OWNER### ###EVENT_OWNER### ###FE_USER### do not work.

generally you can access any value of the event database row by using 
the correct spelled marker: ###CRUSER_ID### (if the event was created in 
the frontend, the corresponding user id will be stored in it)

There is also: ###CRUSER_NAME###

But owner is a relation stored in the table: 
tx_cal_event_shared_user_mm. There is currently no option to get the 
values displayed out of the box.

>
> 2) how can i show events that are currently running (it spans a week)
>     in the list view, which is configured to show events starting "now"?
>     It seems, cal uses the startdate instead of the enddate to calculate
>     this.
>

What about:

view.list.starttime = now
view.list.endtime = now +1 minute
?

Regards,
Mario



More information about the TYPO3-project-calendar mailing list