Backend Lockdown

Posted by & filed under TYPO3.

BE can be locked by maintenance. For that a file typo3conf/LOCK_BACKEND needs to be created – either manually, or using the CLI script lowlevel_admin. CLI scripts will still have access to the system, and could be used for maintenance during that time. More info: http://forge.typo3.org/repositories/diff/typo3v4-core?rev=4901 RFC: #10322: Send Notification if BE is locked http://bugs.typo3.org/view.php?id=10322

Collapse list

Posted by & filed under TYPO3.

List of records can be collapsed by type. The new icons are visible in the List module: More info: RFC #2859: Feature: List view should have ‘collapse’ / ‘expand’ functionality for all list types http://bugs.typo3.org/view.php?id=2859

JS libraries in the BE

Posted by & filed under TYPO3.

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 parameters: if first is set to true, ext-all.css will be loaded, if second is set to true,… Read more »

t3lib_db::exec_SELECTcountRows()

Posted by & filed under TYPO3.

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

config.defaultGetVars

Posted by & filed under TYPO3.

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 the ‘.’ syntax. For example: config.defaultgetVars { tx_extension_pi1.variable = 2 } More info: RFC: #10040: define Default… Read more »