[TYPO3] TypoScript: Copy a TS Object, then Modify the Copy

Joerg Wagner - DigiLog multimedia usenet at digilog.de
Sun Feb 5 15:09:19 CET 2006


> ACT < .NO
> RO < .NO
>
> (Notice the "." before the "NO" part)

Absolutely Peter! Thanks!
Actually I had just forgotten to type the "." in my posting, but the whole 
thing did not work for me as I had a basic misconception:
I thought that with NO being used and active by default it would also imply 
a NO = 1 which would automatically be copied to ACT and RO. But this is not 
the case.
So to get this working I needed:

  NO {
    ...
  }
  ACT < .NO
  ACT = 1
  RO < .NO
  RO = 1

Or even slightly shorter:

  NO = 1
  NO {
    ...
  }
  ACT < .NO
  RO < .NO

The NO=1 is obsolete for the NO part but will be copied to ACT and RO and 
activates them.

Thanks again for your help!
--
Jörg Wagner
DigiLog multimedia





More information about the TYPO3-english mailing list