Bug #76236
closedINCLUDE_TYPOSCRIPT condition PIDinRootline does not work correcty
0%
Description
I try to use an condition for Including on an MultiDomain Websites different TS for different sites.
<INCLUDE_TYPOSCRIPT: source="FILE:path/to/the/first/domain/main.ts-setup" condition="[PIDinRootline=1]">
now if i go to firstdomain.test the TypoScript is not included. if i go to firstdomain.test/?index.php?id=1 the Typoscript is included correctly. And the Rootpage is Pid = 1
if I Include the file like this:
[PIDinRootline=1]
<INCLUDE_TYPOSCRIPT: source="FILE:path/to/the/first/domain/main.ts-setup">
it works correctly, but with the Problem that i can not use any conditions inside.
Updated by Helmut Hummel over 7 years ago
- Description updated (diff)
- Status changed from New to Needs Feedback
you have:
<INCLUDE_TYPOSCRIPT: source="FILE:path/to/the/first/domain/main.ts-setup" condition="[PIDinRootline=1]">
but it should rather be:
<INCLUDE_TYPOSCRIPT: source="FILE:path/to/the/first/domain/main.ts-setup" condition="PIDinRootline=1">
(without square brackets in the condition)
Does this help?
Updated by Andreas Allacher over 7 years ago
Maybe the issue occurs because of #80385?
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again or have more info about how to reproduce it, then please reopen it or open a new issue with a reference to this one. Thank you.