Project

General

Profile

Actions

Feature #14427

closed

AND combination for TypoScript conditions doesn't work

Added by Wolfgang Klinger almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend API
Target version:
-
Start date:
2004-12-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

the conditions are always combined with OR what's bad if you have to e.g. check for a certain browser type and version

See the attached extension that makes it work (I've found parts of the code somewhere on typo3.org but can't remember where... so the main credits go to someone else ;-) I've just packed it into a usable format)

Now the following is possible:
[browser = msie]&&[version = >5]
  1. do something
    [global]

I would like to see that in the next release of TYPO3, thanks!

(tested and productive with 3.6.1, but should work for 3.7 too, but please check it before you make the changes or contact me if you need help)
(issue imported from #M568)


Files


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #15562: Integrate extended TS conditionsClosedWolfgang Klinger2006-02-03

Actions
Actions #1

Updated by Wolfgang Klinger almost 20 years ago

works with 3.7.0 too

Actions #2

Updated by Wolfgang Klinger almost 20 years ago

Is this going into the Core or shall I release it as extension? (another XCLASS one) My preference is the first!

Actions #3

Updated by Michael Stucki almost 20 years ago

Hi Wolfgang,
can you please add a diff instead of that t3x file? I will add this to the core afterwards.

Thanks!

Actions #4

Updated by Wolfgang Klinger almost 20 years ago

Here's the diff against 3.8 from CVS
(I slightly changed the code to be backwards compatible, please try it out again)

Actions #5

Updated by Michael Stucki over 19 years ago

bug568.diff contains nothing new, it's just a simplified diff with "-w" applied.

Actions #6

Updated by Michael Stucki over 19 years ago

Changed version number back to 3.7.0.
This is a new feature - I'm sorry I didn't find time to implement this in 3.8 which is feature-freezed now.

Wolfgang, I suggest you create another XCLASS extension for 3.8. I plan to work on several Typoscript improvements right after 3.8 is out. Thanks!

Actions #7

Updated by Michael Stucki over 19 years ago

Have a look at the nice documentation here: http://typo3.org/extensions/repository/list/conditions/

Anyway, this is just a temporary solution, the feature will finally move into the core...

Actions #8

Updated by Lars Houmark over 19 years ago

Hello Michael and Wolfgang,

Is this tested to work with 3.8 final? (otherwise I might be doing so if needed).

I really hope this will make it to the next release ;)

Actions #9

Updated by Georg Kühnberger over 19 years ago

tested AND works as advertized in 3.8.
Michael, pls. move into core for next release - thanks georg

Actions #10

Updated by Lars Houmark about 19 years ago

Will this feature make it in the next version?

Actions #12

Updated by Michael Stucki almost 19 years ago

I think I have no time to look at this bug still think it is an important feature for TYPO3 4.0. Is anybody willing to commit this, please?

Actions #13

Updated by Sebastian Kurfuerst almost 19 years ago

Thanks Wolfgang for taking care of this!
Greets, Sebastian

Actions #14

Updated by Sebastian Kurfuerst almost 19 years ago

Hi Wolfgang,
I am not sure you noticed the extension, but maybe it is worth to have a look at #15562 as well.
Greets, Sebastian

Actions #15

Updated by Wolfgang Klinger almost 19 years ago

Fixed in CVS

Actions

Also available in: Atom PDF