[TYPO3-core] RFC: Templavoila + Core fixes

Dmitry Dulepov dima at spamcop.net
Wed Mar 15 08:32:16 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Kasper Sk?rh?j wrote:
> (My recommendation:)
> <field_content_right>
> 	<vDEF>23</vDEF>
> 	<vEN></vEN>
> 	<vDK></vDK>
> </field_content_right>
> + translOriginalPointer of 55 and 84 = 23
> (sys_language_uid of 55 and 84 points to their language of course)

This way TV needs to do extra queries to the database if language is not
default to find elements. In Robert's code element UIDs are obtained
directly from XML. I like his solution (below) much more.

> (The alternative which will work and is OK but will not have a  
> semantic binding between localization):
> <field_content_right>
> 	<vDEF>23</vDEF>
> 	<vEN>55</vEN>
> 	<vDK>84</vDK>
> </field_content_right>
> + translOriginalPointer of 55 and 84 = 0
> (sys_language_uid of 55 and 84 points to their language of course)

Dmitry.
- --
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFEF8MARVcYnKJ8N6kRAgJJAJ41Hpoo7CBBfAiyJyHuougVdauxPACdEsze
n+qxzDq48ieU6hKc7fHS4lY=
=QEtD
-----END PGP SIGNATURE-----



More information about the TYPO3-team-core mailing list