Category

Web 2.0

Everything related to the development of the internet in the web2.0 era and beyond

TYPO3

JS libraries in the BE

There are some new functions that load JS libraries: $this->doc->getPageRenderer()->loadPrototype(); Loads prototype if it wasn’t loaded already $this->doc->getPageRenderer()->loadScriptaculous(); Loads Scriptaculous, if it wasn’t loaded already $this->doc->getPageRenderer()->loadScriptaculous('effects,dragdrop'); Loads Scriptaculous with modules $this->doc->getPageRenderer()->loadExtJS(); Loads ExtJS. This function also accepts two …

TYPO3

t3lib_db::exec_SELECTcountRows()

New method in t3lib_db allows easy execution of count SQL statement. For example: $countPages = $GLOBALS[‘TYPO3_DB’]->exec_SELECTcountRows(‘*’, ‘pages’, ‘deleted = 0’); More info: RFC: Feature Request #10091: Integrate TYPO3_DB->exec_SELECTcountRows() http://bugs.typo3.org/view.php?id=10091

TYPO3

config.defaultGetVars

New property allows to set default GET variables in TypoScript. If the value is not passed, the default noe is used instead, and available to extensions through standard methods. If you want to set an array value, use …

TYPO3

KeepItems

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 …

TYPO3

Configuration arrays

You can now see more global arrays in the Configuration module: More info: RFC: #9867: Adding T3_SERVICES to configuration modul http://bugs.typo3.org/view.php?id=9867