Project

General

Profile

Actions

Bug #64339

closed

multilangual site and image from resources

Added by Tomasz Krawczyk almost 10 years ago. Updated over 8 years ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63353: Media Relation from translated page properties in a workspaceClosed2014-11-26

Actions
Actions

Also available in: Atom PDF