[TYPO3-core] FYI: Fixed bug #9341: htmlArea RTE: unable to disable the acronym element from the acronym feature

Stanislas Rolland typo3 at sjbr.ca
Sun Sep 14 05:56:56 CEST 2008


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
Although the acronym element is deprecated, it is not possible to 
disable completely its use in the RTE acronym feature.

Solution:
Acronym records may be of one of two types: abbreviation or acronym. 
When no acronym record of type acronym exist in the database, the 
acronym section is not shown in the acronym/abbreviation dialogue 
window. However, the acronym type field may appear in the form used to 
create acronym records and BE users may create records of type acronym. 
The attached patch adds a default value to the acronym type field in 
TCA. The default is abbreviation. Then the field can be removed from the 
form with:
TCEFORM.tx_rtehtmlarea_acronym.type.disabled = 1
Then all created records will be of type abbreviation.

In the trunk version of the patch, the exclude flag is also set on the 
acronym type field in TCA, so that it will be visible only by admins, 
unless explicitly permitted to some BE user groups in UserTSConfig. This 
flag is left unchanged in the TYPO3_4-2 version of the patch.

Bugtracker references:
http://bugs.typo3.org/view.php?id=9341

Branches:
trunk (revision 4108)
TYPO3_4-2 (revision 4109)

Note:
Of course, the subject of this message looks ridiculous. Since Acronym 
is deprecated, perhaps, the Acronym feature and button should be cloned 
under the name Abbreviation. Then Acronym could be declared deprecated 
and removed in TYPO3 4.5?

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_9341_trunk.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080913/5741136f/attachment.txt 


More information about the TYPO3-team-core mailing list