Bug #48224

Rootline utility must respect pageOverlayFields

Added by Stefan Galinski about 8 years ago. Updated over 2 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
#1

Updated by Gerrit Code Review about 8 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

#2

Updated by Gerrit Code Review about 8 years ago

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

#3

Updated by Gerrit Code Review about 8 years ago

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

#4

Updated by Gerrit Code Review about 8 years ago

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

#5

Updated by Gerrit Code Review about 8 years ago

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

#6

Updated by Gerrit Code Review about 8 years ago

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

#7

Updated by Gerrit Code Review almost 8 years ago

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

#8

Updated by Gerrit Code Review almost 8 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

#9

Updated by Gerrit Code Review almost 8 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

#10

Updated by Stefan Galinski almost 8 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF