[TYPO3-calendar] Display category in Fluid List View
Nicolas Hoarau
nicolas.hoarau at medialight.com
Thu May 18 14:10:34 CEST 2017
Hi Nils,
take exemple from the cal extension folder
(yourhost/typo3conf/ext/cal/Resources/Private/Templates/v2/Partials/Event/event.html
)
In the default file here how it is done :
<f:for each="{event.categories}" as="category"
iteration="itemIteration"> <i>{category.title}</i> </f:for>
You can also use {event.categories.0.title} if your event always has a
mandatory category. (0 being the first index in the categories array for
this event)
Nicolas
Le 18/05/2017 à 15:53, Enn Vee a écrit :
> Hi everyone,
>
> I have a huge issue I can't resolve. I would like to display a
> calendar entry's category name (or category id, if name is not
> possible) in the Fluid list view. How can I achieve that?
>
> Thank you very much in advance,
> Nils
> _______________________________________________
> TYPO3-project-calendar mailing list
> TYPO3-project-calendar at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-calendar
--
Hoarau Nicolas
Développeur BackEnd
-----------------------------------------------------------------
More information about the TYPO3-project-calendar
mailing list