TYPO3 CMS 6.1 - New features and changes
The new version 6.1 of the TYPO3 CMS was released on 30.04.2013. This new version brings many bug fixes and some new or revised features. In this article, we would like to highlight the most important and interesting ones, which are particularly relevant for the end user (admin, integrator, editor).
System Environment Check
The scripts for the system check of the Install Tool have been moved to a separate script, which works independently of TYPO3.
During the TYPO3 installation, the server environment is now first checked for an optimal configuration. Warning or error messages are also displayed here if necessary.
noTrimWrap.splitChar
noTrimWrap constructions with empty areas collided with the optionSplit, e.g. in the HMENU. Now you can define a different character using splitChar, for example:
noTrimWrap.splitChar = ,
If a number is used, the corresponding character with this number is used, 10 would correspond to a line feed.
INCLUDE_TYPOSCRIPT for backend layouts
External files can now be integrated via INCLUDE_TYPOSCRIPT in the configuration field of the backend layouts. This means that backend layouts can now also be outsourced and versioned. At the moment, however, the external files can only be read; it is not yet possible to write to these files from the config field.
Example:
<INCLUDE_TYPOSCRIPT:source="FILE:fileadmin/be-layouts/layout_homepage.ts">
stdWrap for string-padding (similar to the PHP function str_pad)
Results in the output of: __TYPO3___
Parameter:
strPad.length
integer
Default: 0
The length of the output string. If the number is negative, less than or equal to the length of the string, nothing is changed.
strPad.padWith
string
Default: (space)
Character or character string used to "pad" the string.
strPad.type
list of keywords
Default: right
Determines the side of the string to be "padded". Possible values are "left", "right" or "both"
Setting the color space in the install tool
Some versions of Imagemagick use the sRGB color space instead of the RGB color space. The [GFX][colorspace] parameter can be used to determine the color space to be used. Possible values: CMY, CMYK, Grey, HCL, HSB, HSL, HWB, Lab, LCH, LMS, Log, Luv, OHTA, Rec601Luma, Rec601YCbCr, Rec709Luma, Rec709YCbCr, RGB, sRGB, Transparent, XYZ, YCbCr, YCC, YIQ, YCbCr, YUV
LocalConfiguration.php is created during installation
Previously, the dummy, government and introduction packages included a typo3conf/LocalConfiguration.php with default values. Now this file is no longer used, instead the file FactoryConfiguration.php is located in the typo3_scr/typo3/sysext/core/Configuration/ directory, which is used as a template for LocalConfiguration.php. If you call TYPO3 in the browser, Bootstrap checks whether the LocalConfiguration.php exists, if not, the Install Tool is called and creates this file from the template.
Before an upgrade
Before you upgrade to TYPO3 CMS 6.1, you should definitely activate the deprecation log via the install tool. Here you can see whether your own website or extensions use functions that are no longer available with 6.1.
Depending on the number of page views, the page should run for a few hours or possibly even days before the deprecation log is evaluated. Depending on the extensions used, you may have to wait with an upgrade until an updated version of the extension is available.
Conclusion
These were just the most noticeable and interesting changes. Of course, a lot more has happened "under the hood", above all numerous bugs have been fixed and tasks that had been pending for some time have been completed. If you want to find out more about the changes, you can take a look at the changelog or read the PDF on the new features in TYPO3 CMS 6.1, kindly provided by Patrick Lobacher.
For the end user, however, TYPO3 CMS 6.1 brings a few nice improvements, and some shortcomings that were sometimes quite annoying under 6.0 (Extension Manager!) have been fixed. The extent to which problems may occur with installed extensions remains to be seen.