New TS property, applied to an HMENU object reverses the order of the menu. HMENU.special.reverseOrder = 1 More info: RFC: Feature #6637: Integrate possibility to reverse order of rootline HMENU http://bugs.typo3.org/view.php?id=6637
Posts Categorized: Web 2.0
New conditional checks
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 »
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 »