[TYPO3] Default values for table field

Patrick Boisclair illustra at videotron.ca
Mon May 22 22:17:22 CEST 2006


Tapio Markula wrote:
> Patrick Boisclair wrote:
>> Tapio Markula wrote:
>>
>>> Hi
>>>
>>> I tried to define for pages default values
>>>
>>> on the base on
>>> http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/1/3/ 
>>>
>>>
>>> Property:  Data type:
>>>     Description:
>>>
>>> table.[tablename]
>>> default
>>>
>>>
>>> TCEMAIN.table.pages {
>>>     # Pages will NOT have "(copy)" appended:
>>>   disablePrependAtCopy = 0
>>>     # Pages will NOT be hidden upon copy:
>>>   disableHideAtCopy = 1
>>> default.doktype=2
>>> }
>>>
>>> there is not enough examples - something is wrong
>>
>> Hi Tapio,
>>
>> TRy this
>>
>> TCEMAIN.default {
>>     disablePrependAtCopy = 0
>>     disableHideAtCopy = 1
>>     doktype = 2
>> }
>>
>>  Patrick
> 
> Must be TCAdefaults.pages.doktype=2 for TS config for users/ user groups
> - doesn't work for TS Config for pages

I make a mistake for doktype.

You want modify the doktype of a page in User TSConfig?

For me TCAdefaults.pages.doktype=2 is working.



More information about the TYPO3-english mailing list