[TYPO3-english] Insert Content via TypoScript - sys_language_uid
Tomas Norre Mikkelsen
tomasnorre at gmail.com
Thu Feb 9 10:10:11 CET 2012
To follow up, I also tried following:
page.10 = CONTENT
page.10 {
table=tt_content
select{
pidInList = 68
orderBy = sorting
languageField=sys_language_uid
}
}
But both resolved default language.
If visiting the page PID:68 manually the to langugages is working fine,
so assume is not language-misconfiguration.
On 02/09/2012 09:41 AM, Tomas Norre Mikkelsen wrote:
> Hi,
>
> I'm trying to insert content elements from given PID via TypoScript,
> depending on the sys_language_uid.
>
> I'm doing this:
>
> page.10 = CONTENT
> page.10 {
> table=tt_content
> select{
> pidInList = 68
> orderBy = sorting
> where = tt_content.sys_language_uid = 0
> }
> }
>
> This works for my default language, but not for eg. sys_language_uid =
> 1, that confuses me. Am I doing it wrong?
>
> page.10 = CONTENT
> page.10 {
> table=tt_content
> select{
> pidInList = 68
> orderBy = sorting
> where = tt_content.sys_language_uid = 1
> }
> }
>
--
Venlig Hilsen / Best Regards
Tomas Norre Mikkelsen
Tomasnorre at gmail.com
TYPO3 Developer @netimage.dk
TYPO3 Profile:
http://forge.typo3.org/users/4289
Follow me at twitter
Twitter.com/tomasnorre
More information about the TYPO3-english
mailing list