Posted by & filed under TYPO3.

When a redirect using the external URL is used, the 302 HTTP status code is used. The new PageTS Config option allows using different codes:

TSFE.jumpURL_HTTPStatusCode = 301
Moved Permanently
TSFE.jumpURL_HTTPStatusCode = 302
Default – moved temporarily/redirect
TSFE.jumpURL_HTTPStatusCode = 303
Other
TSFE.jumpURL_HTTPStatusCode = 307
Temporary redirect

More info:
RFC: Bug #3787: Patch: new option TSFE.jumpURL_HTTPStatusCode = 30x
http://bugs.typo3.org/view.php?id=3787

Posted by & filed under TYPO3.

A few new options, applied to backend users and backend user groups (through UserTS) give administrators more control over files.

options.fileTree.uploadFieldsInLinkBrowser

Configures the number of upload fields in the linkbrowser. Default value is 3, but can be set to 0 to forbit uploading through the linkbrowser at all.

options.fileTree.denyCreateFolder

If set to 1, creation of new folders is forbidden.

More info:
RFC: #8899: [feature] Configuration of uploads and create folder in linkbrowser
http://bugs.typo3.org/view.php?id=8899

Posted by & filed under TYPO3.

There are numerous hooks added, which improve TYPO3’s extensibility. Here is a list:

getSingleField_beforeRender

In function getSingleField_SW, called before rendering a field. Class should be added to $TYPO3_CONF_VARS[‘SC_OPTIONS’][‘t3lib/class.t3lib_tceforms.php’][‘getSingleFieldClass’] array, and function name should be getSingleField_beforeRender. It can be used for custom TCA processing prior to the field being rendered.

tt_content_drawItem

The function tt_content_drawItem of tx_cms_layout now has a new hook that can be used to define preview options for custom CTypes. The hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘cms/layout/class.tx_cms_layout.php’][‘tt_content_drawItem_default’]

ClearCacheMenu

You can insert items into the clear cache menu by using a hook implementing a backend_cacheActionsHook interface. The hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘additionalBackendItems’][‘cacheActions’].

preprocessRequest

This hook is declared in index_ts.php, and can be used to determine processing strategy based on the request. For example, it can be used to deliver a static page if no user is logged in, but forward all requests with logged in users to TYPO3 for further processing. The hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘tslib/index_ts.php’][‘preprocessRequest’]

makeQueryArray

New hook in makeQueryArray function of class.db_list.inc allows modification of the query parts that are returned. The hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’] [‘SC_OPTIONS’][‘typo3/class.db_list.inc’][‘makeQueryArray’]

Docheader buttons

Extra buttons can now be added to the docheader using a hook, instead of XCLASS. Hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘typo3/template.php’][‘docHeaderButtonsHook’]

wrapTtile

New hook was added to wrapTitle function of the class.webPageTree.php. It can be used to modify the page title in the page tree upon rendering. Hook is defined in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘typo3/class.webpagetree.php’][‘pageTitleOverlay’]

debug_typo3PrintError

The hook allows to modify the error message before it is sent to the user. Its is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘t3lib/class.t3lib_timetrack.php’][‘debug_typo3PrintError’]

getPage

A hook in getPage function of class t3lib_page allows to manipulate the page UID before the page row is pulled. Hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘t3lib/class.t3lib_page.php’][‘getPage’]

getImgResource

This hook could be used to post process image using options not present in standard TYPO3 installation. Hook is declared in $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘tslib/class.tslib_content.php’][‘getImgResource’] and must implement tslib_cObj_getImgResourceHook interface.

More info:
RFC #8890: Feature: hook in function “getSingleField_SW” before rendering of single fields in tceforms.
http://bugs.typo3.org/view.php?id=8890
RFC: Feature Request #9078: Integrate hook in page module to render preview of records with own CType
http://bugs.typo3.org/view.php?id=9078
RFC: #9885: Add Hook to ClearCacheMenu
http://bugs.typo3.org/view.php?id=9885
RFC Feature #10869: Integrate hook to pre-process the frontend rendering
http://bugs.typo3.org/view.php?id=10869
RFC: #4361 – hook request in class.db_list.inc
http://bugs.typo3.org/view.php?id=4361
RFC: #10947: It’s not possible to add buttons to docheader
http://bugs.typo3.org/view.php?id=10947
RFC #11207 Hook Request in typo3/class.webPageTree.php -> wrapTitle
http://bugs.typo3.org/view.php?id=11207
RFC: #8601: Hook for debug_typo3PrintError
http://bugs.typo3.org/view.php?id=8601
RFC #11431: Hook request for manipulating the pageID in getPage
http://bugs.typo3.org/view.php?id=11431
RFC Feature #9292: Integrate hook at the end of tslib_cObj::getImgResource
http://bugs.typo3.org/view.php?id=9292