[Typo3-dev] default date
Ursula Klinger
klinger at punkt.de
Tue Oct 12 09:47:16 CEST 2004
Hi,
who can help me. For the moment I make an extension to extend the page
header by revision date. I use the kickstarter for this extension and
as field type I use the date field. In the TCA array it looks like this.
"tx_ptpageext_reviewdate" => Array (
"exclude" => 1,
"label" => "LLL:EXT:pt_pageext/locallang_db.php:pages.tx_ptpageext_reviewdate",
"config" => Array (
"type" => "input",
"size" => "8",
"max" => "20",
"eval" => "date",
"checkbox" => "0",
"default" => "0"
)
),
If the checkbox is checked in the BE as default date the current date is set.
I want that the current date + 1 year is set. Is there any possibily to
manipulate the dafault date?
Thanks
Ursula
More information about the TYPO3-dev
mailing list