[TYPO3-project-4-3] ExtJS Date-picker for TCEFORMS

Steffen Kamper info at sk-typo3.de
Mon Jun 29 09:53:01 CEST 2009


Hi,

Benjamin Mack schrieb:
> Hi Steffen,
> 
> I like it a lot. I would really like this simple solution in TYPO3 4.3.
> 
> some minor things:
>  * Styling doesn't seem to be perfect as the date formatter somehow 
> screws up some alignment (see screenshot).
> 
any idea how to align is welcome, as this is a generated part of the DP

>  * The checkbox on the left doesn't get set (I think you need to do a 
> call to a TCE-EDITOR setvalue function once the datepicker selects the 
> date)

i tried to set manually, but better to call the onchange-code of the 
input field, i'll try.
> 
>  * The date format should come from:
> $TYPO3_CONF_VARS['SYS']['ddmmyy'] = 'd-m-y', maybe set in a global 
> TCEFORM.dateFormat // TCEFORM.timeFormat // TCEFORM.datetimeFormat
>
while playing i noticed that dateformat is j-n-Y which is needed, other 
formats are not recognized.

>  * Use a namespace for the ExtJS calls:
> 
> Ext.namespace(TCEFORM);
> TCEFORM.datePicker = function() {
> 
> }

will do.

vg Steffen


More information about the TYPO3-project-4-3 mailing list