Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6764347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:34:59+00:00 2026-05-26T14:34:59+00:00

Currently I’m working with PIDinRootline . This works fine. [PIDinRootline=8,9] //do something [end] [PIDinRootline=6,7,11]

  • 0

Currently I’m working with PIDinRootline. This works fine.

[PIDinRootline=8,9]
    //do something
[end]

[PIDinRootline=6,7,11]
    //do something
[end]

Now I want to address a set of subpages under 7. Currently an all pages where the parent has the id 7 has the same code. But now I want something different on page id 128 and all its subpages. Is it allowed to make something like

[PIDinRootline=8,9]
    //do something
[end]

[PIDinRootline=6,7,11]
    //do something different
[end]
[PIDinRootline=128]
    //do something
[end]

So the page 128 is under 7. The setting is overwritten because first the settings from PIDinRootline=7 takes place and then the settings from PIDinRootline=128. Is this allowed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:35:00+00:00Added an answer on May 26, 2026 at 2:35 pm

    Definetely allowed. Just make sure you define conditions in the same order as quoted.
    You can actually leave out some of the [end] conditions.
    Note: This works for TYPO3 up to version 8 / 9.3:

    [PIDinRootline=8,9]
        //do something
    [PIDinRootline=6,7,11]
        //do something different
    [PIDinRootline=128]
        //do something
    [end]
    

    The old condition syntax was deprecated with TYPO3 9.4. The new syntax is based on the symfony expression language and looks like this:

    [8 in tree.rootLineIds || 9 in tree.rootLineIds]
        //do something
    [6 in tree.rootLineIds || 7 in tree.rootLineIds || 11 in tree.rootLineIds]
        //do something different
    [128 in tree.rootLineIds]
        //do something
    [end]
    

    Other useful page related conditions are (old syntax):

    • [globalVar = TSFE:id = 128] // Only on PID 128
    • [PIDupinRootline = 128] // Only on subpages of PID 128 (PID 128 not included)
    • [treeLevel = 1] // All pages that belong to tree level 1 (subpages of
      root level)

    Check the TYPO3 reference for the new condition syntax.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently, if I want to output a SQL script for a table in my
Currently It just opens up the xml, but i want to get a dialog
Currently my server is running of the Tomcat 5.5.26 and JDK 1.5.15. Now I
Currently I have alot of information that are in several different divs. I want
Currently, working with RC0 Denali, having some issues I am attempting to review data
Currently working on database part of android project. The main aim of the project
I want use html5's new tag to play a wav file (currently only supported
Currently learning Scheme/Racket and have problem running this piece of code. (if (or (<
Currently I am using custom made Java search engine. This Java engine uses Lucene
Currently, I would like provide this as an option to the user when storing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.