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… Read more »
Posts Categorized: TYPO3
Limit trimExplode()
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… Read more »
enabledControls for Inline
In TCA, under [‘columns’][fieldname][‘config’][‘appearance’] there is a new array with the key enabledControls. Each element of the array can be set to a Boolean, indicating if it should be shown on the record. Example: ‘config’ => array( ‘type’ => ‘inline’, … ‘appearance’ => array( ‘enabledControls’ => array( ‘new’ => false, ‘hide’ => true, ‘info’ =>… Read more »
addFieldsToAllPalettesOfField()
New function t3lib_extMgm::addFieldsToAllPalettesOfField() allows to add fields to palettes of an existing field. It can be called like: /** * Adds new fields to all palettes of an existing field. * If the field does not have a palette yet, it’s created automatically and * gets called “generatedFor-$field”. * * @param string $table: Name of… Read more »
Sysactions in the toolbar
Assuming sys_action is installed, and the user has access to the task center, users will now see a button in the task bar, giving them easy access to the tasks. More info: RFC: #9591: Integrate sys_actions into toolbar http://bugs.typo3.org/view.php?id=9591