Project

General

Profile

Actions

Task #49247

closed

Deprecate TypoScript functions "textStyle" and "tableStyle"

Added by Chris topher over 10 years ago. Updated over 6 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Ernesto Baschny over 10 years ago

  • Category set to TypoScript

Good catch, should be done.

Actions #2

Updated by Ernesto Baschny over 10 years ago

  • Status changed from New to Accepted
Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Georg Ringer about 9 years ago

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

Updated by Chris topher about 9 years ago

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

Updated by Chris topher about 9 years ago

  • Target version changed from 6.2.0 to 7.0
Actions #10

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF