[TYPO3-templavoila] Creating a date input field in a FCE and selector boxes for page-links

Christophe Stadler cs at cs-cc.com
Wed Nov 19 19:31:44 CET 2008


Hello ... Great, i made the change you suggested and now the data in the
field automatically formats to dd-mm-yyyy ... Cool ... One down, one to go
:)

The only problem is that the little date2cal icon doesn't appear.

I thought date2cal would automatically add this feature to all date or
datetime fields ... So since the <eval> is set to date it should appear
automatically ?


On 11/19/08 3:48 PM, in article
mailman.1.1227106113.3930.typo3-project-templavoila at lists.netfielders.de,
"Steffen Kamper" <info at sk-typo3.de> wrote:

> Hi,
> 
> not all TCE-Elements are predefined, so you have to edit XML of DS manually.
> 
> For a date field change it like this:
> <TCEforms type="array">
> <config type="array">
> <type>input</type>
> <size>8</size>
> <max>20</max>
> <checkbox></checkbox>
> <eval>date</eval>
> </config>
> <label>File</label>
> </TCEforms>
> 
> It works with date2cal as you see in screenshot.
> 
> I suggest to use kickstarter for definining special fields and use the
> TCA-config in XML
> 
> vg Steffen
> 



More information about the TYPO3-project-templavoila mailing list