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:
#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:
<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