Project

General

Profile

Actions

Bug #22295

closed

textStyle doesn't work

Added by Stefan Froemken about 14 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-03-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I just test some stdWrap-Properties and stubled over textStyle which generates font-Tags. I know...font-Tags are deprecated, but it isn't marked as deprecated and it is documented in TsRef.

My little test-TS:
10 = TEXT
10.value = Ich werde in ein font-Tag gewrapped
10.textStyle.face.field = 1

In frontend I saw only my text. There is no font-Tag wrapped around.

In code I found something like this:

function textStyle(...) {
...
$face = $this->data[$conf['face.']['field']];

What's that?!?! $this->data?!?!

After changing this to:

$face = $conf['face.']['field']

it works like expected.
(issue imported from #M13857)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #49247: Deprecate TypoScript functions "textStyle" and "tableStyle"Closed2013-06-19

Actions
Actions

Also available in: Atom PDF