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 title-element in TYPO3
  2. How to … change the standard target for links in TYPO3
  3. TYPO3 4.5 – sendmail on Host Europe Server
  4. How to use images base64 encoded inline an img-tag
  5. How to – redirect restricted TYPO3 pages to loginform and back
  6. How to … set the favicon in TYPO3
  7. How to … setup the fileadmin/ folder for Backendaccess
  8. How to … sort the Typoscript Template

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

*