[TYPO3] How to fill in time, and author forms of content elements by default?

Peter Klein peter at umloud.dk
Mon Oct 23 09:13:33 CEST 2006


Hi Andreas, here's an example that sets the page author and email.

-- cut --
TCAdefaults.pages {
  author = Andreas
  author_email = your at email.com
}
-- cut --

And another example that enables the "To top" and sets the header type to 
"layout 5", when new content elements are created.

-- cut --
TCAdefaults.tt_content {
  linkToTop = 1
  header_layout = 5
}
-- cut --

-- 
Peter Klein/Umloud Untd

"Andreas Balzer" <eMail at andreas-balzer.de> skrev i en meddelelse 
news:mailman.1.1161542538.16768.typo3-english at lists.netfielders.de...
> Peter Klein schrieb:
>> Hi Andreas.
>> You can use User TSConfig.
>>
>> See TSConfig (Look for "TCAdefaults")
>> http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/1/2/
>>
>> --
>> Peter Klein / Umloud Untd
>>
>> "Andreas Balzer" <eMail at andreas-balzer.de> wrote in message 
>> news:mailman.1.1161508274.27762.typo3-english at lists.netfielders.de...
>>> Hi!
>>> Is there a possibility, to fill out the last modified, author, email 
>>> forms, etc.. at the 'create new page', 'create new content element' and 
>>> 'create a tt_news entry' with the current logged in BE user information 
>>> by default?
>>>
>>> Thanks for any help.
>>>
>>> Greetings
>>> Andreas
>>
>>
> Hi!
> Thanks for the link to the documentation. Is there any 'example' of how to 
> access the fields of the content elements, etc..? I don't know whether i'm 
> able to understand how those things work..
>
> Andreas 





More information about the TYPO3-english mailing list