Tag

TYPO3

TYPO3

Hide Save & View

New UserTS option allows to hide the Save & View button for certain tables, where it doesn’t make sense: options.saveDocView.[table] = 0 More info: RFC: #10827: Hide “Save and View”-button when editing a content-element http://bugs.typo3.org/view.php?id=10827

TYPO3

Line breaks in GIFBUILDER

Text rendered through GIFBUILDER can now span several lines if it exceeds a certain width. New properties breakWidth and breakSpace make this possible. Example: … 10 = IMAGE 10 {    file = GIFBUILDER    file {       XY = [20.w]+5,[20.lineHeight]*0.3+[20.h] …

TYPO3

Max value in GIFBUILDER

Sometimes its not possible to find the dimensions of the entire element in GUIFBUILDER, however these dimensions need to be used in offsets. The new function max() returns the maximum of the two values. For example: XY = …

TYPO3

t3lib_div::isOnCurrentHost()

New function isOnCurrentHost gives a convenient way of checking that the passed URL matches the current host. One use would be to limit BE editors to referencing URLs only to the current host. Ex: if (t3lib_div::isOnCurrentHost($url)) {    // …

TYPO3

filePath

The filelist can now be manipulated by TS. The new property will fill in the list from a declared folder: tt_content.uploads.20.filePath It allows you to set the filepath where images are taken from to be set via TypoScript, …