Actions
Bug #64339
closedmultilangual site and image from resources
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2015-01-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hi!
I have site with 4 languages and 7 pages on 1 level (root is 0). On all languages I have the same banner for page. So, on /kontakt/ (PL) is the same image as /contact/ (EN) and so on. So I added image only to page resources.
In TYPO3 6.1.12 that TS was working on all languages:
# # Page Banner # lib.pageBanner = COA lib.pageBanner { cache.key = pageBanner_{page:uid}_{TSFE:sys_language_uid} cache.key.insertData = 1 10 = FILES 10 { references { #data = levelmedia: -1,slide table = pages uid.data = leveluid: -1, slide fieldName = media } renderObj = IMAGE renderObj { file.import.data = file:current:publicUrl file.maxH = 161 file.maxW = 880 #file.import.override.field = media file.treatIdAsReference = 1 titleText.data = page:title altText.data = page:title } } }
After upgrade to 6.2.9 it is not working. My friend told me that I should add images to resources of all alternative language records. I think it should work as in 6.1 or it should be some TypoScript instruction to achieve this.
Actions