I'm using GridElements 7.0 with TYPO3 7.6 on a multisite instance of TYPO3.
How can I restrict the use of a grid element for site A but not for site B? Or user X have rights to element "1 column for site A" and user Y to "1 column for site B".
I know that I can restrict the use of content elements or grid elements in the definition of a column such as
columns {
1 {
colPos = 1
allowed = text,textpic
allowedGridTypes = 1, 2
}
}
but it doesn't solved my problem.
Any clue?
You can use typoscript condition [PIDinRootline = pages-uid]
for this. Like below.
More Typoscript condition Click Here
In your setup Ts like this.
[PIDinRootline = site-a-rootPid]
// Here your Typoscript for site A
[end]
[PIDinRootline = site-b-rootPid]
// Here your Typoscript for site B
[end]