Project

General

Profile

Actions

Bug #48224

closed

Rootline utility must respect pageOverlayFields

Added by Stefan Galinski almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2013-05-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The new rootline generation process doesn't respects the pageOverlayFields array. This makes it impossible to get content fallback handling for the media field by setting e.g. the following code into your AdditionalConfiguration.php.

// the media field should not be overlaid
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] =
    str_replace(',media', '', $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']);

How to test:
  • Setup a multilanguage site with active page overlay and content_fallback (AFAIK like the Intro package already does)
  • add the mentioned code above to your AdditionalConfiguration.php to prevent the overriding of the media field
  • add a media resource to your page in the default language (leave it empty the page overlay)
  • output the media resource to your page (use the rootline -> levelmedia or levelfield)
  • test the output with the languages -> without the patch, the media field is just shown in the default language
Actions #1

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #2

Updated by Gerrit Code Review almost 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #3

Updated by Gerrit Code Review almost 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #4

Updated by Gerrit Code Review almost 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #5

Updated by Gerrit Code Review almost 11 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #6

Updated by Gerrit Code Review almost 11 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #7

Updated by Gerrit Code Review almost 11 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20796

Actions #8

Updated by Gerrit Code Review almost 11 years ago

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21722

Actions #9

Updated by Gerrit Code Review almost 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21723

Actions #10

Updated by Stefan Galinski almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF