Bug #22014
closedChange default emptyTitleHandling to "removeAttr"
0%
Description
emptyTitleHandling default in css_styled_content has changed from "useAlt" to "removeAttr". This default should change in cms (class.tslib_content.php), too.
If this is kept because of backward compatibility, a global config option would be nice.
(issue imported from #M13338)
Files
Updated by Robert Heel about 13 years ago
- File 22014_emptyTitleHandling.diff 22014_emptyTitleHandling.diff added
- Target version deleted (
0)
Updated by Alexander Opitz almost 10 years ago
- Description updated (diff)
- Status changed from New to Needs Feedback
- TYPO3 Version set to 4.5
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?
Updated by Riccardo De Contardi over 9 years ago
Seems still open; The file typo3/sysext/cms/tslib/class.tslib_content.php does not exist in TYPO3 6.2.11; The file /typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
contains the lines:
$altParam = ' alt="' . htmlspecialchars($altText) . '"'; // "title": $emptyTitleHandling = 'useAlt'; $emptyTitleHandling = isset($conf['emptyTitleHandling.']) ? $this->stdWrap($conf['emptyTitleHandling'], $conf['emptyTitleHandling.']) : $conf['emptyTitleHandling']; // Choices: 'keepEmpty' | 'useAlt' | 'removeAttr' if ($titleText || $emptyTitleHandling == 'keepEmpty') { $altParam .= ' title="' . htmlspecialchars($titleText) . '"'; } elseif (!$titleText && $emptyTitleHandling == 'useAlt') { $altParam .= ' title="' . htmlspecialchars($altText) . '"'; }
Updated by Alexander Opitz over 9 years ago
- Category set to Frontend
- Status changed from Needs Feedback to New
Updated by Riccardo De Contardi over 7 years ago
- Status changed from New to Needs Feedback
AFAICS on both TYPO3 v. 7.6 and 8 the $emptyTitleHandling = 'useAlt';
has been removed, so it should no more be set as default.
Do you think that it is sufficient to close the issue? Thank you!
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again or have more information about how to reproduce it, then please reopen it or open a new ticket and add a relation to this ticket number.
Thank you!