---
title: "ml_links: wie muss ein Link im Code aussehen?"
url: "https://www.typo3.net/d/87369-ml-links-wie-muss-ein-link-im-code-aussehen"
source: "typo3.net"
tags: ["Extensions","Frage","Links"]
created: "2009-02-27"
last_reply: "2009-02-27"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# ml_links: wie muss ein Link im Code aussehen?

Extensions · 0 Antworten · gestartet 2009-02-27

## Eröffnungsbeitrag

**ben2k** · 2009-02-27 · [Beitrag #1](https://www.typo3.net/d/87369-ml-links-wie-muss-ein-link-im-code-aussehen/1)

Hallo Forum,

ich stehe etwas auf dem Schlauch. Habe ml_links installiert und es tut sich nichts. Habe folgendes dem Setup meines Templates hinzugefügt:

```typoscript
#Test ML_LINKS
lib.ml_links_conf {
internal {
10.image = fileadmin/offshore/templates/img/icon_link_internal.gif
10.image.alt = Interner Link
20.linkTag = 1

}
external {
10.image = fileadmin/offshore/templates/img/icon_link_external.gif
10.image.alt = Externer Link
20.linkTag = 1

}
pdf {
10.image = fileadmin/offshore/templates/img/icon_link_pdf.gif
10.image.alt = PDF
20.linkTag = 1
30.filesize = 1

}
}

# Links im normalen Text
# Text und Text m/Bild - RTE - normaler Textlink
tt_content.text.20.parseFunc.tags.link.postUserFunc = tx_mllinks_pi1->main
tt_content.text.20.parseFunc.tags.link.postUserFunc < lib.ml_links_conf

tt_content.text.20.parseFunc.tags.typolist.default.parseFunc.tags.link.typolink.userFunc = tx_mllinks_pi1->getFiletype
tt_content.text.20.parseFunc.tags.typolist.default.parseFunc.tags.link.typolink.userFunc < lib.ml_links_conf
```

Die Links im Quellcode sehen so aus:

```html
<a title="Öffnet externen Link im aktuellen Fenster" class="external-link" href="http://www.google.de"><img alt="Öffnet externen Link im aktuellen Fenster" src="http://www.website.de/typo3/sysext/rtehtmlarea/res/accessibilityicons/img/external_link.gif" />Testlink</a>
```

Er baut dort ein Accessibility-Icon davor. Stört das vielleicht ml_links?

Worauf greift ml_links im A-Tag zu? auf class="external" oder type="external" ? Finde dazu leider nichts in der Doku.

Für Hilfe bin ich dankbar!
Viele Grüße
Ben

---

Quelle: „ml_links: wie muss ein Link im Code aussehen?“, typo3.net, https://www.typo3.net/d/87369-ml-links-wie-muss-ein-link-im-code-aussehen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
