Posted by & filed under TYPO3.

New property TCEFORM.<table>.<field>.keepItems keeps declared items in the select box, while removing everything else. It should be used in PageTS. For example:

TCEFORM.pages.doktype {
keepItems = 1,2,255
}

More info:
RFC: Feature Request #5610: Extend TCEFORM_confObj on Page TSconfig by property keepItems
http://bugs.typo3.org/view.php?id=5610

Posted by & filed under TYPO3.

You can now see more global arrays in the Configuration module:

Extra Configuration options

More info:
RFC: #9867: Adding T3_SERVICES to configuration modul
http://bugs.typo3.org/view.php?id=9867

Posted by & filed under TYPO3.

New operators can be used in conditional statements.
=         Requires exact match

>         The var must be greater than the value

<         The var must be less than the value

<=        The var must be less or equal than the value

>=        The var mast be greater or equal than the value

!=        The var must be not equal to the value

Here are some examples


# Possible before
[globalVar = GP:test = 1]
[globalVar = GP:test < 1]
[globalVar = GP:test > 1]
#Possible now
[globalVar = GP:test <= 1]
[globalVar = GP:test >= 1]
[globalVar = GP:test == 1]
[globalVar = GP:test != 1]

More info:
RFC: #9661: extend condition for globalVar
http://bugs.typo3.org/view.php?id=9661
http://bugs.typo3.org/view.php?id=4745

Posted by & filed under TYPO3.

Function t3lib_div::trimExplode now has a fourth parameter, allowing to limit the number of results. If positive, the result will contain a maximum of limit elements, if negative, all components except the last -limit are returned, if zero (default), the result is not limited at all.

More info:
RFC: Feature Request #9656: Extend t3lib_div::trimExplode to limit the number of elements
http://bugs.typo3.org/view.php?id=9656