bootstrap_package icon indicating copy to clipboard operation
bootstrap_package copied to clipboard

Use language overlay if querying content_from_pid

Open andreashager opened this issue 2 years ago • 1 comments

Pull Request

Related Issues

  • Closes #
  • Fixes #1447
  • Resolves # [feature/question]

Prerequisites

  • [x] Changes have been tested on TYPO3 v11.5 LTS
  • [x] Changes have been tested on TYPO3 v12.4 LTS
  • [x] Changes have been tested on PHP 7.4
  • [x] Changes have been tested on PHP 8.0
  • [x] Changes have been tested on PHP 8.1
  • [x] Changes have been tested on PHP 8.2
  • [ ] Changes have been checked for CGL compliance php-cs-fixer fix
  • [ ] CSS has been rebuilt (only if there are SCSS changes cd Build; npm ci; npm run build)

Description

Since TYPO3 9 the field "Show content from page" can be different for each translation. The database field content_from_pid is only fetched in the default language. So if your translated page has a content_from_pid set but the default language not its not recognized.

andreashager avatar Nov 23 '23 14:11 andreashager