Task #49247
closedDeprecate TypoScript functions "textStyle" and "tableStyle"
100%
Description
Susanne Moog asked, if it made sense to deprecate the TypoScript functions "textStyle", "tableStyle" and "addParams". I think it does.
- Most what addParams offers should be done with CSS. Additionally it uses "ugly" values and is incomplete. E.g. it was never possible to manipulate several different html tags at the same time (unless you created an ill nesting of stdWraps, which was not comfortable as well).
- What textStyle and tableStyle offer should today be done via CSS as well.
For each of them a call to logDeprecatedTyposcript()
should be added, e.g. like so:
$this->logDeprecatedTyposcript('textStyle', 'It will be removed in TYPO3 6.4. Use CSS styles instead.');
Updated by Ernesto Baschny over 11 years ago
- Status changed from New to Accepted
Updated by Riccardo De Contardi about 11 years ago
Just a question, maybe silly,but...what if someone wants to add a javascript-related "data-stuff" attribute?
For example:
page.10 = TEXT page.10.value = <div> page.10.addParams.data-something = true
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35442
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35442
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35442
Updated by Georg Ringer almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 22cb77ace46977e52c19b5473a352afd43f88aef.
Updated by Chris topher almost 10 years ago
- Subject changed from Deprecate TypoScript functions "textStyle", "tableStyle" and "addParams" to Deprecate TypoScript functions "textStyle" and "tableStyle"
Updated by Chris topher almost 10 years ago
- Target version changed from 6.2.0 to 7.0
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed