Project

General

Profile

Actions

Feature #36317

closed

[page|layout = 1] should be able to handle "non-equal" expression

Added by Armin Vieweg over 12 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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.

Actions #1

Updated by Markus Klein over 12 years ago

What about using:

[page|uid = 1]
[else] # do anything
[end]

Actions #2

Updated by Armin Vieweg over 12 years ago

Yes, this works as well! Thanks a lot!

Actions #3

Updated by Philipp Gampe over 12 years ago

And that is the way even for normal TypoScript.

Actions #4

Updated by Chris topher over 11 years ago

  • Status changed from New to Needs Feedback
Actions #5

Updated by Chris topher over 11 years ago

  • Status changed from Needs Feedback to New
Actions #6

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?

Actions #7

Updated by Armin Vieweg over 11 years ago

Yes, please.

Actions #8

Updated by Thorsten Kahler over 11 years ago

  • Status changed from Needs Feedback to Rejected

Using [else] solves this issue.

Actions

Also available in: Atom PDF