[TYPO3-mvc] Non-translated fields do not display
Tim Schoch | GSTALTIG
tim.schoch at gstaltig.ch
Wed Nov 16 07:48:23 CET 2011
Hello
I'm sorry, I thought I've already posted the exclude option at the beginning.
A very helpfull ressource when it comes to TCA is the code documentation:
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.0.0/view/4/2/
eg. Search for l10n_mode, there you see what options are available and how they work.
Tim
_____
From: Dimanche Eat [mailto:dimanche at web-essentials.asia]
To: typo3-project-typo3v4mvc at lists.typo3.org
Sent: Tue, 15 Nov 2011 14:59:55 +0100
Subject: Re: [TYPO3-mvc] Non-translated fields do not display
Hi
I have tried to debug in the TYPO3 core and I found that there is a
strange problem with a varialbe $GLOBALS['TSFE']->TCAcachedExtras in the
class "t3lib_pageSelect". If you try to debug it by logging in the TYPO3
Backend and do not, you will the differences.
I am not 100% clear how this variable does yet, but I have put the code
below in my ext_tables.php, then it solved my problem.
$GLOBALS['TSFE']->TCAcachedExtras['tx_xxx_domain_model_person']['l10n_mode']['address']
= 'exclude';
$GLOBALS['TSFE']->TCAcachedExtras['tx_xxx_domain_model_person']['l10n_mode']['telephone']
= 'exclude';
$GLOBALS['TSFE']->TCAcachedExtras['tx_xxx_domain_model_person']['l10n_mode']['photo']
= 'exclude';
I am not sure if that is a good solution to do that, but I have to go
forward at the moment.
If anyone has an idea, I would be glad to see that. Thanks.
Kind regards,
Dimanche
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list