Project

General

Profile

Actions

Bug #17141

closed

rtehtmlarea 1.5.1dev - default title attributes do not work

Added by Michael Gotzen over 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-03-21
Due date:
% Done:

0%

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

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)

Actions #1

Updated by Oliver Hader over 17 years ago

Which browser (and version) are you using?

Actions #2

Updated by Michael Gotzen over 17 years ago

I tried it with Firefox 2.0.0.2 and IE 7.

Actions #3

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.

Actions #4

Updated by Stanislas Rolland almost 17 years ago

I am unable to reproduce this problem. Is the style field also empty?

Actions #5

Updated by Stanislas Rolland almost 17 years ago

No reply...

Are you still encountering this issue?

Actions #6

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.

Actions #7

Updated by Stanislas Rolland over 16 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?

Actions #8

Updated by Michael Gotzen over 16 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.

Actions #9

Updated by Stanislas Rolland over 16 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?

Actions #10

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).

Actions #11

Updated by Stanislas Rolland over 16 years ago

Thanks for your sponsorship!

Actions

Also available in: Atom PDF