Review main Merged

61500[FEATURE] Re-implement old PIDupinRootline condition in TypoScript

Elias Häußler CR +2 V +2 Normal +80 −16 updated 01/24/20, 17:22

Commit message

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]

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5