[TYPO3-english] prefill page title on creating page

Gijs Epping [eFocus] gijs.epping at efocus.nl
Mon Dec 8 15:11:21 CET 2008


Patrick Rodacker schreef:
> Hi Gijs,
> 
> Gijs Epping [eFocus] schrieb:
> 
>> Is it possible to prefill the page title when creating a new page. For 
>> example(Newletter 2008-12-08) So they only have to save the 
>> newsletter/page and be done with it!
>>
>> I will try to solve it myself but if you have a suggestion please help!
> 
> yes it is possible. Have a look at UserTSConfig [1] and search for 
> TCAdefaults.
> 
> You could add something like
> 
> TCAdefaults.pages.title = Your prefilled title
> 
> 
> to the TSConfig field of your backend users or groups.
> 
> HTH
> Patrick
> 
> [1] 
> http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.2.0/view/1/2/#id4715518 
> 


Thanks for the help. This is almost perfect is it possible to add a date?

I tryed this but only gives TEXT back
obj.datum = TEXT
obj.datum {
	data = date:U
	strftime = %Y
	wrap = Nieuwsbrief |
}

TCAdefaults.pages.title < obj.datum

Greetings Gijs

-- 
E: gijs.epping at efocus.nl
W: http://www.efocus.nl/
W: http://www.gijs.com/

################
# eFocus is looking for Typo3/Php Developers
# http://www.werkenbijefocusgroep.nl/
################


More information about the TYPO3-english mailing list