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 »
Posts By: Dan Osipov
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
Singletons
Singletons can now be instantiated with t3lib_div::makeInstance, if they implement interface t3lib_singleton. Singletons are classes that exist as one instance during execution. No matter how many times the class is instantiated, the same instance will be returned. This saves precious memory during execution. More info: RFC #9520: add a scheme to support singletons with t3lib_div::makeInstance
config. absRefPrefix applies to external directories
New configuration variable $TYPO3_CONF_VARS[‘FE’][‘additionalAbsRefPrefixDirectories’] can be set to an array of additional directories to which config.absRefPrefix will apply. If not set, it will only apply to media/ typo3conf/ext and fileadmin/ directories by default. More info: RFC #9452: config.basRefPrefix is applied only to a fixed set of directories http://bugs.typo3.org/view.php?id=9452
wrapItemAndSub for GMENU
wrapItemAndSub option was available for TMENU object, and could be used to wrap the current item, and all its sub-items. This option is now available for GMENU object as well. lib.graphMenu = HMENU lib.graphMenu { 1 = GMENU 1 { wrap = <ul>|</ul> NO { allWrap = <li>|</li> XY = [10.w]+5,18 10 = TEXT 10… Read more »