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:
- testobject = TEXT
- testobject.value = some text
- ### taking reference to the "internal" TSFE array
- [globalVar = TSFE:id = 2,13]
- testobject >>
- [global]
In TYPO3 there are other ways to get the same result, for example write
- ### taking reference to GET/POST variable id (?id=...)
- [globalVar = GP:id = 2,13]
- testobject >>
- [global]
