Waah TYPOSCRIPT ist so ein #%^!@&*%. Hab mir aus Versehen den kompletten Cache abgeschaltet, in dem ich sowas hatte:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8:
| page = PAGE page { [globalVar = GP:print > 0] - ERROR: Line 3: Object Name String, "[globalVar" contains invalid character "[". Must be alphanumeric or one of: "_-." config.no_cache = 1 [global] - ERROR: Line 5: On return to [GLOBAL] scope, the script was short of 1 end brace(s) } - ERROR: Line 7: An end brace is in excess. |
Innerhalb von geschweiften Klammern werden aber Conditions einfach stillschweigend ignorieren - bin ich schon mehrfach drüber gestolpert... ch hoffe ja immernoch dass das Zeugs mal durch ne richtige Skriptsprache ersetzt wird ;)
edit: haha, der syntax-highlighter vom forum merkts ;)
Chris