Task #49247
closed
Deprecate TypoScript functions "textStyle" and "tableStyle"
Added by Chris topher over 11 years ago.
Updated about 7 years ago.
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.');
- Category set to TypoScript
Good catch, should be done.
- Status changed from New to Accepted
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
- 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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Subject changed from Deprecate TypoScript functions "textStyle", "tableStyle" and "addParams" to Deprecate TypoScript functions "textStyle" and "tableStyle"
- Target version changed from 6.2.0 to 7.0
- Status changed from Resolved to Closed
Also available in: Atom
PDF