[TYPO3-calendar] Use ID of category in TS of single view

Hartmut Steglich hartmut.steglich at web.de
Tue Oct 28 19:10:54 CET 2014


Thanks, that helps.

Regards,
Hartmut

Am 27.10.14 um 20:42 schrieb Mario Matzulla:
> Hi Hartmut,
>
> Am 24.10.14 um 10:33 schrieb Hartmut Steglich:
>> Hi Mario,
>>
>> Am 23.10.14 um 21:06 schrieb Mario Matzulla:
>>> Hi Hartmut,
>>>
>>> Am 23.10.14 um 14:32 schrieb Hartmut Steglich:
>>>> Am 22.10.14 um 14:30 schrieb Hauke Haller:
>>>>> Am 22.10.2014 13:23, schrieb Hartmut Steglich:
>>>>>> Hello,
>>>>>>
>>>>>> to make some selections and add some styling I want to use the ID(s)
>>>>>> of the event in the TS of the single view.
>>>>>>
>>>>>> But how to get them into TS - any hints?
>>>>>>
>>>>>> Thanks,
>>>>>> Hartmut
>>>>>
>>>>> in the event_model.tmpl you can use the ###UID### marker. Maybe that
>>>>> helps..?
>>>> Sorry, there was something missing in my sentence: It's about the ID of
>>>> the events categories.
>>>>
>>>> I can get the title of the categories. But this is not what I need.
>>>
>>> I htink you can only get this - without coding - by using the fluid list
>>> template rendering.
>> I need it in single view.
>>
>> Lets think of another possibility: Where and how is the image in DB
>> field tx_cal_category.icon used? I couldn't find any example.
>>
>> Output of category(link) works. So adding the icon should be possible too?
>
> Adding an icon to a category fills the ###CATEGORY_ICON### marker in any
> view. Have a look at the getCategoryIconMarker function of the
> view/class.tx_cal_phpicalendar_model.php file.
>
> Regards,
> Mario
>>
>> Regards,
>> Hartmut
>>
>>
>>>
>>> Regards,
>>> Mario
>>>>
>>>> Regards,
>>>> Hartmut
>>>
>>
>



More information about the TYPO3-project-calendar mailing list