Actions
Feature #36317
closed[page|layout = 1] should be able to handle "non-equal" expression
Start date:
2012-04-19
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Since TYPO3 4.5 you have added a condition which can be used in tsconfig:
A new condition is available for the current page record in PageTS. This allows settings for example like this:
mod.SHARED.colPos_list = 0 [page|layout = 1] mod.SHARED.colPos_list = 1,0 [global]
This works great!
But if you want to use "not equal" (!=) it is not working. Example:
[page|uid != 1] # do anything [global]
Using <> instead of != works neither.
Updated by Markus Klein over 12 years ago
What about using:
[page|uid = 1]
[else]
# do anything
[end]
Updated by Armin Vieweg over 12 years ago
Yes, this works as well! Thanks a lot!
Updated by Philipp Gampe over 12 years ago
And that is the way even for normal TypoScript.
Updated by Chris topher over 11 years ago
- Status changed from New to Needs Feedback
Updated by Chris topher over 11 years ago
- Status changed from Needs Feedback to New
Updated by Thorsten Kahler over 11 years ago
- Status changed from New to Needs Feedback
- Assignee set to Armin Vieweg
So, can we close this ticket now?
Updated by Thorsten Kahler over 11 years ago
- Status changed from Needs Feedback to Rejected
Using [else]
solves this issue.
Actions