Task #44972
closed
Update documentation: Mark borderCol and rowSpace options from IMGTEXT as removed
Added by Sebastian Michaelsen almost 12 years ago.
Updated about 6 years ago.
Description
Passing borderCol and rowSpace to IMGTEXT doesn't have any effect anymore.
However the correspoding constants {$styles.content.imgtext.borderColor}
and {$styles.content.imgtext.rowSpace} are used in CSC's default CSS.
- Status changed from New to Under Review
- Status changed from Under Review to On Hold
- Target version changed from 6.0 to 6.1
- Project changed from 1112 to TYPO3 Core
- Status changed from On Hold to New
- Target version deleted (
6.1)
- Subject changed from Remove borderCol and rowSpace options from IMGTEXT to Update documentation: Mark borderCol and rowSpace options from IMGTEXT as removed
- TYPO3 Version set to 6.1
TSref is not the right manual to be changed:
Please modify the manual of CSS styled content (typo3\sysext\css_styled_content\Documentation):
Remove these properties there.
- Category set to Documentation
- Target version set to 7 LTS
There is still code in the class
sysext/compatibility6/Classes/ContentObject/ImageTextContentObject.php
91: $borderColor = isset($conf['borderCol.']) ? $this->cObj->stdWrap($conf['borderCol'], $conf['borderCol.']) : $conf['borderCol'];
92: if (!$borderColor) {
93: $borderColor = 'black';
382: $imageHTML = '<table border="0" cellpadding="' . $borderThickness . '" cellspacing="0" bgcolor="' . $borderColor . '"' . $Talign . '><tr><td>' . $imageHTML . '</td></tr></table>';
Wouter, that is correct: The properties both are used in ImageTextContentObject.php.
But they are no longer used in CSS styled content. For CSS styled content these properties are removed. And that is what should still be documented - the properties should be removed from typo3\sysext\css_styled_content\Documentation!
- Target version changed from 7 LTS to Candidate for patchlevel
If I am not wrong, $styles.content.imgtext.rowSpace is still used by Css Styled Content, version8.7-dev (latest master)
see:
typo3/sysext/css_styled_content/Configuration/TypoScript/Styling/setup.txt
typo3/sysext/css_styled_content/Configuration/TypoScript/constants.txt
On the same files, I have not seen borderCol, but there are two constants:
$styles.content.imgtext.borderColor
$styles.content.imgtext.borderColor2
and only the first one seem used.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF