By Piotr Borowski on Tuesday, 14 July 2015
Posted in Technical Issues
Replies 3
Likes 0
Views 555
Votes 0
Hi,
Is it possible that all links in ED have the nofollow attribute?

Joomla 3.4.3
ED 3.2.9676
Hello Piotr Borowski,

Is it possible that all links in ED have the nofollow attribute?


Regarding the above, I am sorry and unfortunately this is not possible with EasyDiscuss at the moment. What you can do is to create a system plugin and by using the onBeforeRender, you can search for anchor links and then add the rel="nofollow" attribute to the anchor.

Hope this help and have a nice day!
Sam
·
Tuesday, 14 July 2015 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Can I change this in the core files? where to look for it in ED?
·
Thursday, 16 July 2015 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Piotr,

You can open this file ../components/com_easydiscuss/helpers/helper.php and under function formatPost. This is where the process to modify the content happen. You might want regex the content for anchor tag and add the nofollow link. Hope this helps.
·
Thursday, 16 July 2015 16:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post