[TYPO3-dev] Generating 0 page into database
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Fri Aug 3 10:39:01 CEST 2007
Tapio Markula schrieb:
> Martin Kutschker kirjoitti:
>> Tapio Markula schrieb:
>>> Hi
>>>
>>> Would it be possible that typo3 would generate always 0 page into
>>> database.
>>> That would be needed to set page TS config for entire installation.
>>
>> You can use [BE][defaultPageTSconfig] and perhaps add configurations
>> to it via t3lib_extMgm::addPageTSConfig($conf) from an extension.
>>
>> Masi
>
>
> If I set directly $TYPO3_CONF_VARS['BE']['defaultPageTSconfig'] that
> would not be satisfactory, because I should edit source code.
Use t3lib_extMgm::addPageTSConfig($conf) in ext_localconf.php. You could
read the content of $conf from a file.
> But it is not possible to set *multiline* configuration string!
>
> I tried this
>
> TCEMAIN { permissions.userid = 8} TCEMAIN {permissions.groupid = 2 }
> TCEMAIN.permissions { user = 31} TCEMAIN.permissions {group = 31}
> TCEMAIN.permissions { group = 31 }TCEMAIN.permissions {everybody = 31 }
> TCEMAIN.table.pages {disablePrependAtCopy = 0 } TCEMAIN.table.pages
> {disableHideAtCopy = 1 }
>
> Didn't work.
I'm sure you can add a multiline confirguration with the function call.
Masi
More information about the TYPO3-dev
mailing list