[TYPO3-calendar] plugin.tx_cal_controller.view.category.tree.category / calendar

Mario Matzulla mario at matzullas.de
Thu Jan 10 18:11:41 CET 2013


Hi Patrick,

Am 10.01.13 11:32, schrieb PM:
> Intention:
> - I have for example 3 calendars. One contains for example only holidays
> and this calendar should always be shown. The front-end user should only
> be able to select or unselect the categories from the other 2 calendars.
> - The same could be true for categories.
> - Also one could imagine to have more categories than "different
> colors". So one does for example only want that the main 5 categories
> appear in the legend-tree.
>
> So my intention is not really about the FE-user selection. Its about the
> categories that are shown in the legend.
>
>
> Therefore I was looking for a way to restrict the categories/calendars
> that are visible in the legend.
>
> And I found the two options:
>
> plugin.tx_cal_controller.view.category.tree.category
> plugin.tx_cal_controller.view.category.tree.calendar
>
> with the description
> "# @description Defines the categories shown in the tree (csv of ids)" .

you are right, this option is not configurable. It is more a description 
of the structure the tree function needs.

So in order for you to get what you want, I would say: you need a custom 
marker calling our tree function with your definition of categories and 
calendars...

A "module__" marker should be very easy. Have a look at our "misc" 
folder there are some examples. And here is a short description [1].

Regards,
Mario

[1] 
http://www.wischnat.de/1606.0.html?&cHash=012b2f7315&tx_ttnews[backPid]=1571&tx_ttnews[tt_news]=121

>
> So these 2 options really seemed to do what I wanted: To define the
> categories that are shown/visible in the tree.
>
> But they don't do what the description promises, because they do
> nothing. So I pointed out the reason for this in my second post to this
> topic.
>
>
>
>
> Oh. And thanks for being active here!
>
>
> Am 08.01.2013 20:16, schrieb Mario Matzulla:
>> Hi Patrick,
>>
>> i don't get your intention on this :(
>>
>> If you want some categories to be selected, you should use the
>> _DEFAULT_PIVARS TS option.
>>
>> I don't think the tree configuration is the right way, because your
>> selection - if it would work - would overwrite any user selection ;)
>>
>> Am 08.01.13 10:34, schrieb PM:
>>>
>>> Does one of the administrators of Typo3-cal read this mailing list?
>>
>> Yes, I do. But I don't have the time to monitor it everyday. And I do
>> hope that others answer first :D
>>
>>> If not: Do I have to open a bug report in forge?
>>>
>> No, I don't think that this is a bug.
>>
>> Regards,
>> Mario
>>
>



More information about the TYPO3-project-calendar mailing list