How to … change the RTE linktext in TYPO3

How to

If you want to change the the alt-text, the title attribute, link image or something else you have to use some code-snippets in your TSconfig at Rootpage.

With the following lines you will be able to choose text and type.

RTE.classesAnchor {
 internalLink {
 class = internal-link
 type = page
 altText >
 titleText >
 image >
 }
 externalLink {
 class = external-link
 type = url
 altText >
 titleText >
 image >
 }
 externalLinkInNewWindow {
 class = external-link-new-window
 type = url
 altText >
 titleText >
 image >
 }
 internalLinkInNewWindow {
 class = internal-link-new-window
 type = page
 image >
 }
 download {
 class = download
 type = file
 altText = Datei runterladen
 titleText = Datei runterladen
 image >
 }
 mail {
 class = mail
 type = mail
 altText = öffnet Ihr Mailprogramm zum verschicken einer Nachricht
 titleText = öffnet Ihr Mailprogramm zum verschicken einer Nachricht
 image >
 }
}

For delete any automatic link title, use:

titleText >

notitle

for using a standard link title, use:

titleText = Datei runterladen

withtitle

greetz, Martin

Related posts:

  1. How to … change the standard target for links in TYPO3
  2. How to … change the title-element in TYPO3
  3. How to … setup the fileadmin/ folder for Backendaccess
  4. How to … set the favicon in TYPO3
  5. How to delete csc-default and id tag in TYPO3 4.3
  6. TYPO3 Version 4.4.0 released
  7. How to … integrate a YAML Menu to TYPO3
  8. How to … add metatags to TYPO3 website

3 Responses to “How to … change the RTE linktext in TYPO3”


  1. 1 Eric Thibault

    I’m using TinyRTE and your configuration does not work in our installation (TinyRTE 1.6.6 + Typo3 4.1.9).

    Do you have some hints for me because I realy nead to differenciate between internal and external links!

    Thanks a million times!

  2. 2 blumentritt
  1. 1 How to … change the RTE linktext in TYPO3 at fragmente Scripts Rss

Leave a Reply