[TYPO3-dev] EnableField and localisation
bernd wilke
xoonsji02 at sneakemail.com
Mon Apr 7 20:40:44 CEST 2008
on Mon, 07 Apr 2008 15:58:19 +0200, Christian Leicht wrote:
> Hello,
>
> in my extensioni use enableFields for the hide start stop stuff...
>
> But im not able to localize my entry. Is enableFields do this part or do
> i use a other function for this ? This time all versions of language are
> displayed in FE.
you have to select the correct(=actual?) language by yourself:
just enhance your WHERE-clause with:
$where_clause .= ' AND sys_language_uid = '
.$GLOBALS['TSFE']->sys_language_uid;
bernd
--
http://www.pi-phi.de/t3v4/cheatsheet.html
More information about the TYPO3-dev
mailing list