[TYPO3] Automatically include content from default language
Dmitrii 'Mamut' Dimandt
dmitriid at gmail.com
Fri Feb 23 15:58:10 CET 2007
Well, yeah, sort of :)
I use style.content.get to see if there is any content on the page. If
there isn't, I show links to subpages. If there aren't any, I'm showing
something like "no content":
temp.rendered_content = COA
temp.rendered_content {
10 = COA
10 {
if.isTrue.numRows < styles.content.get
10 < styles.content.get
}
30 = COA
30 {
if.isFalse.numRows < styles.content.get
1 = TEXT
1.value = no content, sorry
}
30 = COA
30 {
if.isFalse.numRows < styles.content.get
20 < temp.inpage_menu # this is a menu to subpages
}
}
Quite frankly I don't even remember writing this :) This was quite some
time ago. Could you give me some tips on how to incorporate an "if" into
language availability?
Tyler Kraft wrote:
> are you using css_styled_content and style.content.get?
>
> if so perhaps a if statement and a new select?
>
> (just an idea as I don't have much multilanguage experince)
>
>
>
> Dmitrii 'Mamut' Dimandt wrote:
>
>> I have several language versions on the site. If a language version for
>> a page does not exist, it turns up blank. Is there a way to
>> automatically include content from the default language version?
>>
>> Typo 3.8.1
>>
>> Oh. All page titles have been translated into corresponding languages.
>> So, not having any content, thse pages turn up blank :(
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
More information about the TYPO3-english
mailing list