[TYPO3-english] content_fallback does not work for page media field
Brian Bendtsen
bb at attensa.dk
Tue Sep 18 09:34:48 CEST 2012
Hi
I'm sorry for posting another issue related the previous post, but this
should clarify the problem by providing more details.
I have created a menu using the media field for displaying icons for
each menu item.
The site is multi language and I need the icons to fallback to default
language if none has been inserted on the alternative language page
media field, but this doesn't seem to work.
TS for menu:
10 = HMENU
10.special = list
10.special.value = 44,46
10.excludeUidList = 84
10.wrap = <div class="menu-more-products">|</div>
10.1 = TMENU
10.1 {
NO = 1
NO.linkWrap = <H2 class="item-header">|</H2>
NO.doNotLinkIt = 1
expAll = 1
}
10.2 = TMENU
10.2 {
NO {
allWrap = <div class="item">|</div>
stdWrap.cObject = COA
stdWrap.cObject {
10 = IMG_RESOURCE
10.file.import = uploads/media/
10.file.import.field = media
10.file.import.listNum = 0
#10.file.import.data = levelmedia: 0, slide
10.file.maxW = 100
10.stdWrap.wrap = <span class="img-container"><span
class="img-wrap"><img src="|" alt="
20 = TEXT
20.wrap = |"
20.data = field:title
30 = TEXT
30.wrap = title="|" /></span></span>
30.data = field:title
40 = TEXT
40.data = field:nav_title // field:title
40.wrap = <span class="text-link">|</span>
}
}
}
TS for content fallback:
sys_language_mode = content_fallback;0
sys_language_overlay = 1
Install tool:
The field 'media' is in the pageOverlayFields
TYPO3 4.5.16
--
Med venlig hilsen/Best Regards
Brian Bendtsen
TYPO3 Konsulent/Udvikler
Attensa
Website: http://www.attensa.dk
More information about the TYPO3-english
mailing list