[TYPO3-english] Rootline fields content fallback

Jan Bednarik info at bednarik.org
Tue Jun 28 07:44:48 CEST 2011


Hi,

I have this definition to retrieve media field and show an image:

lib.field_image = TEXT
lib.field_image {
   wrap = background-image:url(uploads/media/|)
   data = fullRootLine : 0, media
   listNum = 0
   ifEmpty = ../../fileadmin/templates/newdesign/img/im-sluzby.png
}

My language config is following:

config.linkVars = L(1-9)
config.sys_language_mode = content_fallback
config.sys_language_overlay = content_fallback

However, when in a translation media field is empty, it displays that 
"ifEmpty" fallback rather than the value from the default language.

Any ideas how to fix it?

Thanks

Jan


More information about the TYPO3-english mailing list