[TYPO3-core] RFC: fix bug #1801 (no real read-only TCA field)

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Jan 26 12:57:50 CET 2006


Holzinger Franz <franz at fholzinger.com> writes on 
Mon, 23 Jan 2006 11:47:20 +0100 (MET):

> 
> >$itemValue = date('d-m-Y',$itemValue)
> >
> The date format should be configurable in TCA and all the rest of
> format strings as well.
> 
> I think you should create somewhere else library functions for this,
> because this is also needed for the display of database fields in the
> front end.


Yes, but code relies on full TCA which may not be available in the FE. Perhaps we could create a wrapper for this BE-function that handles the TCA part and calls the (internal) BE-rendering function.

You're welcome to add such functions (or provide another patch) as I don't have the time now for it now.

Masi 



More information about the TYPO3-team-core mailing list