[TYPO3-templavoila] TCEforms date field renders as sequence of 10 numerics instead of formated date in FE & BE
Christophe Stadler
cs at cs-cc.com
Mon Dec 1 13:46:01 CET 2008
Following up on a previous post of mine i have tried to find a solution to
this and am stuck.
Whereas the date is formated correctly in the backend form, the front end
displays random numeric characters ..
.. so instead of 04.10.2007 i get 1191448800
But the weird thing is that when i edit the FCE again the date appears
correctly in the fields. But in the general backend overview and in the
frontend the dates are replaced with these numerics.
I have looked at the database and the date is contained in the
tx_templavoila_flex field:
[...]
<field index="field_eventdate">
<value
index="vDEF">1191448800</value>
</field>
[...]
Here is the corresponding part of the xml from the FCE template DS:
<field_eventdate type="array">
<tx_templavoila type="array">
<title>Date</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input</eType>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>10</size>
<eval>date</eval>
</config>
<label>Date</label>
</TCEforms>
</field_eventdate>
I'm mystyfied ...
More information about the TYPO3-project-templavoila
mailing list