[TYPO3-dev] Exclamation Marks with MM relation ?

Niels Pardon mail at niels-pardon.de
Tue Jun 9 21:30:35 CEST 2009


Hi Steffen!

No, never stumpled across such an issue.

Greets,

Niels


Steffen Kamper schrieb:
> Hi,
> 
> btw - you ever saw this line in code?
> 
> // it seems TCE has a bug and do not work correctly with '1'
> $config['maxitems'] = ($config['maxitems']==2) ? 1 : $config['maxitems'];
> 
> vg Steffen
> 
> Niels Pardon schrieb:
>> Hi!
>>
>> ypavard at infoglobe.ca schrieb:
>>> Hi,
>>>
>>> I would like to set "category field" as required field !
>>>
>>> So, I would like to show on screen the exclamation mark. The same
>>> behavior that
>>> input field.
>>>
>>> TCA for category field (tt_news) :
>>>
>>> [config]
>>>  [type]=select
>>>  [form_type]=user
>>>  [userFunc]=tx_ttnews_treeview->displayCategoryTree
>>>  [treeView]=1
>>>  [foreign_table]=tt_news_cat
>>>  [size]=1
>>>  [autoSizeMax]=5
>>>  [minitems]=0
>>
>> => minitems=1
>>
>>
>>>  [maxitems]=1
>>>  [MM]=tt_news_cat_mm
>>>
>>> Thanks
>>
>> Greets,
>>
>> Niels




More information about the TYPO3-dev mailing list