globalVar

If you want to provide (or exclude) TypoScipt objects under particular conditions (for example excluding an TS object on a specific page) consider it done this way:

  1. testobject = TEXT
  2. testobject.value = some text
  3.  
  4. ### taking reference to the "internal" TSFE array
  5. [globalVar = TSFE:id = 2,13]
  6.   testobject >>
  7. [global]

In TYPO3 there are other ways to get the same result, for example write

  1. ### taking reference to GET/POST variable id (?id=...)
  2. [globalVar = GP:id = 2,13]
  3.   testobject >>
  4. [global]
Last update: 14.04.2006

Did this document help you?

Yes: Write us what helped you

Ok, but: Suggest improvements, report inaccuracies etc.

not helpful: Tell us what would have helped