Posted by & filed under TYPO3.

USER content objects are cached with the page. USER_INT object are not. Some plugins may need to operate in both modes, depending on the way they are called, parameters they are issued, or execution path they take. The new option allows to convert the content object into a USER_INT object from USER during execution. Here is the sample code:


if ($this->cObj->getUserObjType() == tslib_cObj::OT_USER) {
  $content = 'I am running as USER object now.';
  if (!$this->conf['allowCaching']) {
    $this->cObj->convertToUSER_INT();
    return '';
  }
}
else {
  $content .= 'I am running as USER_INT right now';
}

If allowCaching option is set to 1, the content element will switch to a USER_INT execution mode.

More info:
RFC #8985: Enable USER object to become USER_INT on the fly
http://bugs.typo3.org/view.php?id=8985

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