Skip to content
Snippets Groups Projects
Commit d00e80ea authored by Elias Häußler's avatar Elias Häußler Committed by Susanne Moog
Browse files

[FEATURE] Re-implement old PIDupinRootline condition in TypoScript

The TypoScript condition matcher is now able to match pages up in the
root line as the old "PIDupinRootline" behavior was. By using the new
"tree.rootLineParentIds" expression, one can check if a given page is
part of the root line but not currently on the requested page.

Example:

  [30 in tree.rootLineParentIds]
      ...
  [end]

This is basically the same as:

  [30 in tree.rootLineIds && page["uid"] != 30]
      ...
  [end]

Resolves: #88962
Releases: master
Change-Id: I15311b39db5d03ad2541377426898c228c86ae53
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61500


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 2ad25481
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment