[TYPO3-dev] TCA field input/datetime with current date as default

Jigal van Hemert jigal.van.hemert at typo3.org
Thu Jun 18 09:41:53 CEST 2015


Hi,

On 17/06/2015 10:11, Philipp Wrann wrote:
> Does neither work in TCA/*.php nor in TCA/Overrides/*.php - since those
> values will be parsed and serialized.
>
> But it does work in ext_tables.php as there variables are not replaced.
>
> But i dont know if this is the way to go since we want to get rid of TCA
> in ext_tables.php (do we :-) ?).

If I remember correctly EXT:news has a similar feature and uses a hook 
to set these dynamic default values. Maybe you can take a look in that 
extension for inspiration.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list