[TYPO3] sys_language_softExclude not working for table "pages"?

Sander van Gelderen mail at sandervangelderen.nl
Mon May 28 14:36:38 CEST 2007


Hello Georg,

I recently had the same problem and was able to solve it with the help of
this list and T3 UG Dutch (post 19/5/2007 subject 'page:media in Alternative Page Language')

	config.sys_language_softExclude = pages:media

will not work because this works only for *content*, check the TSref for 'sys_language_overlay' at
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/7/3/
It explicitely says "certain tables selected by the CONTENT cObject" (just a tiny rtfm :) , I missed it myself too)


The solution is to go into the Configuration tool and find the current value for $TYPO3_CONF_VARS['FE']['pageOverlayFields']
By default you will find this list: 'uid,title,subtitle,nav_title,keywords,media,description,abstract,author,author_email'

Remove the 'media' entry from the list, then write the new list to localconf.php

HTH,

Sander



Georg Rehfeld schreef:
> Hi all,
> 
> while setting up a multi lingual site I stumbled into this problem:
> 
> The field "media" in the table "pages" should just be inherited from
> the default language in every case.
> 
> For that I configured in my template:
> 
>   config.sys_language_mode = content_fallback
>   config.sys_language_overlay = 1
>   config.sys_language_softExclude = pages:media
> 
> Which does not work. See please (the temporary links):
> 
> - default (german) language, with images:
> http://schoppe.tugendbol.de/Beispiel-Seiten.55.0.html?&L=0
> 
> - english language, missing images:
> http://schoppe.tugendbol.de/Sample-Pages.55.0.html?&L=1
> 
> As you can see, every localisation/translation works, except for the
> inheritance of the pages:media field, which is not inherited from the
> default language.
> 
> If I set images in the english TV page properties "Files" input element,
> then these images are displayed ... which is also wrong, because I
> configured "exclude, please"!
> 
> 
> Generally I followed the great Kasper video podcast (Localize ...) at
> 
> http://castor.t3o.punkt.de/files/podkast_julestue4-localization.m4v
> 
> having read anything on the TSref "config" page
> 
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/3/ 
> 
> 
> and having set up my TV templates for inheritance mode
> (<langChildren>1</langChildren>).
> 
> So, please, no plain RTFM answers please (unless you point me to _the_
> manual page I didn't understand or havn't found myself already).
> 
> What to do?
> 
> regards, Georg


More information about the TYPO3-english mailing list