AgenturPottkinder / typo3_forum

An Extbase-based TYPO3 Extension which is called typo3_forum
http://www.mittwald.de
GNU General Public License v2.0
35 stars 54 forks source link

[FEATURE] Make clickable links configurable #58

Open neufeind opened 9 years ago

neufeind commented 9 years ago

Currently the basic parser (mm_forum/Classes/TextParser/Service/BasicParserService.php) adds href-links with a rel="nofollow". It might be that people would like to configure that behaviour in more detail - for example add a target="_blank" to external links or so.

How can we make that more configurable? Callback/hook to create the a-href (link-HTML)?

neufeind commented 9 years ago

What works fine is to create your own BasicParserService which extends the original class (overrides the make-methods that create the link) and make the forum use your service-class instead (through TypoScript). Is that enough for customisation? Or should we add some basic "templating" for links through TypoScript or similar, maybe use typoLink to create links etc.?