Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

change target blank to

Go to End

3 Posts   1100 Views


Community Member, 4 Posts

24 October 2010 at 2:52pm

I'm a newbee and this is probably the last thing that should be my first post;-) So much to learn!

I am very impressed with SilverStripe so far. One thing that really impresses me is the amount of valid code!

One place in the forum module puts out invalid code and I think it would be a trivial fix if I knew where to change the code. Perhaps there is a good reason for using a target _blank but i was wondering if it could instead use "; return false;"

Is that a simple fix? Could someone tell me how to do it?



Forum Moderator, 5523 Posts

24 October 2010 at 4:46pm

I had a look at the module the the only place I could find it is in the sign up form

Allow <a href='' target='_blank'>Gravatars</a>

You can find that code (at least in trunk) in forum/code/ForumHolder.php line 80 and Forum.php line 223 but both of those locations are code for the backend. Where on the front end is it outputting the target code?


Community Member, 4 Posts

24 October 2010 at 5:19pm

Argg!!! SORRY, had my head in the forum module but it is actually in the content field of a page. Will repost.