Task #49247

Deprecate TypoScript functions "textStyle" and "tableStyle"

Added by Chris topher over 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2013-06-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Sprint Focus:

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.');

Related issues

Related to TYPO3 Core - Bug #22295: textStyle doesn't workRejected2010-03-18

Actions
#1

Updated by Ernesto Baschny over 8 years ago

  • Category set to TypoScript

Good catch, should be done.

#2

Updated by Ernesto Baschny over 8 years ago

  • Status changed from New to Accepted
#3

Updated by Riccardo De Contardi over 8 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

#4

Updated by Gerrit Code Review about 7 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

#5

Updated by Gerrit Code Review about 7 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

#6

Updated by Gerrit Code Review about 7 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

#7

Updated by Georg Ringer about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#8

Updated by Chris topher about 7 years ago

  • Subject changed from Deprecate TypoScript functions "textStyle", "tableStyle" and "addParams" to Deprecate TypoScript functions "textStyle" and "tableStyle"
#9

Updated by Chris topher about 7 years ago

  • Target version changed from 6.2.0 to 7.0
#10

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF