I am developing a TYPO3 website with multilanguage support. I am using TemplaVoila for template mapping. Site works in both languages. But content added with Typoscript in TemplaVoila mapping is rendered only in default language, in other languages content from Typoscript is missing.
here is my typoscript:
lib.autherInfo = CONTENT
lib.autherInfo {
table = tt_content
select {
selectFields = cruser_id
}
renderObj = COA
renderObj {
10 = RECORDS
10{
source.field = cruser_id
tables = be_users
dontCheckPid = 1
conf.be_users = COA
conf.be_users {
10 = TEXT
10.field = realName
10.noTrimWrap = ||, |
15 = RECORDS
15{
source.field = usergroup
tables = be_groups
dontCheckPid = 1
conf.be_groups = COA
conf.be_groups {
10 = TEXT
10.field = title
10.noTrimWrap = ||, |
}
}
20 = TEXT
20.dataWrap = <span><a href="mailto:{field:email}" >{field:email}</a></span>
}
}
}
}
lib.autherInfo.wrap = <p>by: |</p>
Output mark up of above typoscript is:
<p>by: Administrator, admin, <span><a href="mailto:admin@kultur.com">admin@kultur.com</a></span></p>
In other languages output is:
<p>by: </p>
How to fix this?
by: Administrator, admin, admin@kultur.com
always. In other languages for Example in Danish I want to renderAf: Administrator, admin, admin@kultur.com
. – Harish Ambady Oct 15 '12 at 08:05Af: |
– Harish Ambady Oct 15 '12 at 11:18By: |
also – DarkLeafyGreen Oct 15 '12 at 11:33Af: |
' I wrote this: lib.autherInfo.wrap =By: |
. Since english is the default language, and it works. In danish only 'Af:' is displayed without content. – Harish Ambady Oct 15 '12 at 11:42