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 »

KeepItems

Posted by & filed under TYPO3.

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 TSconfig by property keepItems http://bugs.typo3.org/view.php?id=5610

Configuration arrays

Posted by & filed under TYPO3.

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

Reverse order of HMENU

Posted by & filed under TYPO3.

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