Project

General

Profile

Actions

Feature #18931

closed

Change labels of formatblock items

Added by Andreas Wagner over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-06-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It's currently not possible to change the labels (Paragraph, Heading 1 and so fourth) of the formatblock drop down. It would be nice to have this possibility through pageTS.

(issue imported from #M8668)


Files

bug_8668.diff (1.01 KB) bug_8668.diff Administrator Admin, 2008-06-10 18:59
bug_8668_documentation.txt (182 Bytes) bug_8668_documentation.txt Administrator Admin, 2008-06-10 19:00
rtehtmlarea_feature_8668.patch (1.56 KB) rtehtmlarea_feature_8668.patch Administrator Admin, 2008-09-02 04:25

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #16605: overriding labelsClosed2006-09-29

Actions
Actions #1

Updated by Andreas Wagner over 16 years ago

Hm, this is supposed to have Severity = feature and Reproducibility = always. Would be great if someone could change this.

Actions #2

Updated by Andreas Wagner over 16 years ago

The attached patch adds this feature by adding the page TSconfig property buttons.formatblock.items.[item-name].label

I am not exactly sure what $this->htmlAreaRTE->getPageConfigLabel() does, but it seems right to get the label through this function from looking at the function name. And this is how the label is fetched in buildJSClassesArray() for example.

Actions #3

Updated by Stanislas Rolland about 16 years ago

Thanks for the patch. I modified it slightly.

getPageConfigLabel() gets the label from PageTSConfig which may be a simple string, but may also be of the form LLL:EXT:[fileref]:[labelkey], in other words may be a reference to an entry in a xml localization file.

Actions #4

Updated by Stanislas Rolland about 16 years ago

Committed to SVN TYPO3core trunk revision 4050.

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF