typoscript - TYPO3 6.2 no alternate language content -
i've created multilingual typo3 6.2 website fluid , gridelements. have big problem language translations (btw: same problems occur in typo3 7.6)
if create alternative page language no content inside, want show default language, in case german. otherwise, if there is content on translated (english) site, german default should hidden , complete alternativ language content should visible.
in case only possible translate exakt these parts german default language , not possible create new content not shown in default language. in typo3-backend can create new content, not shown.
if set config.sys_language_overlay = 0
@ typoscript, new content visible, complete default content isn't shown.
which settings necessary show complete content @ alternative language , default content empty pages?
this have tried far:
styles.content.get.select.includerecordswithoutdefaulttranslation = 1 styles.content.getleft.select.includerecordswithoutdefaulttranslation = 1 styles.content.getright.select.includerecordswithoutdefaulttranslation = 1
and here my typoscript
### language menĂ¼ ### lib.langselect = coa lib.langselect { wrap = <ul class="langnav">|</li></ul></ul> 30 = hmenu 30 { special = language special.value = 0,1,7 special.normalwhennolanguage = 0 1 = tmenu 1 { noblur = 1 # standard sprachen no = 1 no { linkwrap = <li>|</li> stdwrap.override = deutsch /|| english / donotlinkit = 1 stdwrap.typolink.parameter.data = page:uid stdwrap.typolink.additionalparams = &l=0 || &l=1 stdwrap.typolink.addquerystring = 1 stdwrap.typolink.addquerystring.exclude = l,id,chash,no_cache stdwrap.typolink.addquerystring.method = stdwrap.typolink.usecachehash = 1 stdwrap.typolink.no_cache = 0 } act < .no act.linkwrap = <li class="active">|</li> userdef1 < .no userdef2 < .act } } } config.linkvars = l config.locale_all = de_de config.sys_language_uid = 0 config.sys_language_mode = content_fallback [globalvar = gp:l = 1] config.sys_language_uid = 1 config.sys_language_overlay = 1 config.metacharset = iso-8859-1 config.locale_all = en_gb.iso88591 config.language = en [global] [globalvar = gp:l = 7] config.sys_language_uid = 7 config.metacharset = iso-8859-1 config.locale_all = fr_fr.iso88591 config.language = fr [global]
and here’s script load content lib-field:
lib.contentmid = hmenu lib.contentmid { 1 = tmenu 1 { expall = 1 no = 1 no { atagparams = class="notusablelink" wrapitemandsub.insertdata = 1 wrapitemandsub = <section id="{field:subtitle}">|</section> allwrap = <div class="maincontent"><div class="contentholder">|</div></div> before = <div class="hidelink" data-link="{field:subtitle}">{field:title}</div> before.insertdata = 1 after.cobject = content after.cobject { table = tt_content select { orderby = sorting pidinlist.field = uid languagefield=sys_language_uid = colpos = 2 } } } } 2 < .5 2 { wrapitemandsub.insertdata = 1 no.wrapitemandsub = <div id="{field:subtitle}" class="subcontent"><div class="contentholder">|</div></div> no.allwrap > } }
any idea? many thanks.
add 'includerecordswithoutdefaulttranslation = 1' 'after.cobject.select.' styles.content.get kind of shortcut colpos 0 ... 3, not affect typoscript @ point.
Comments
Post a Comment