Category

Programming

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

TYPO3

Reverse order of HMENU

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