Bug #17141
closedrtehtmlarea 1.5.1dev - default title attributes do not work
0%
Description
Default title attributes are a very nice feature of the rte, since the editors do not have to type in similar text repeatedly.
In rtehtmlarea 1.5.1dev the default title attributes for links do not show up in TYPO3Browser.
Even if I pass by the localisation and just put the following into my page TSconfig, the field for title remains emtpy in the TYPO3Browser:
RTE.classesAnchor {
externalLink {
class = external-link
type = url
titleText = Opens an external link in this window
}
}
The feature is described in the manual in chapter "Typical default configuration"
http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea/1.4.3/view/5/2/
(issue imported from #M5273)
Updated by Oliver Hader over 17 years ago
Which browser (and version) are you using?
Updated by Michael Gotzen over 17 years ago
I tried it with Firefox 2.0.0.2 and IE 7.
Updated by Oliver Hader about 17 years ago
If you'd like to have this without selecting from the style selector, you can define a default:
In Page TSconfig:
RTE.default.classesAnchor.default.url = external-link
The result is that if the browse-link window opens, the default for "external url" is set to the class "external-link". And this is the one you defined.
Updated by Stanislas Rolland almost 17 years ago
I am unable to reproduce this problem. Is the style field also empty?
Updated by Stanislas Rolland almost 17 years ago
No reply...
Are you still encountering this issue?
Updated by Michael Gotzen almost 17 years ago
I have several installations with TYPO3 4.1.2 and rtehtmlarea 1.5.3. With one installation the default title attributes show up, with the other installations they do not work.
So it seems to be a configuration issue. If I find out what it is, I will post it here.
Updated by Stanislas Rolland almost 17 years ago
If you look at the PageTSConfig using Web->Info->PageTSConfig->RTE on a page where the problem occurs, do you see the default title correctly set in the RTE.classesAnchor array?
Updated by Michael Gotzen almost 17 years ago
Yes, the default title is set correctly in RTE.classesAnchor array.
I tried the following steps now:
1. Inserting a not localized default title in PageTSConfig:
RTE.classesAnchor.internalLink.titleText = my title
This works well - the title "my title" is there
2. Inserting the standard line (which should be already active, if I don not overwrite it)
RTE.classesAnchor.internalLink.titleText =LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_titleText
This does not work.
I checked the locallang.xml of default and german language: everything seems to be correct and is in place.
Updated by Stanislas Rolland almost 17 years ago
What is the value of config.sys_language_mode on the page that does not work?
Is the value different on the sites where it works?
Updated by Stanislas Rolland over 16 years ago
I was finally able to reproduce this bug which was related to localization of the link insertion dialogue.
Fixed in SVN TYPO3core trunk revision 2956 (for inclusion in TYPO3 4.2 beta1).