I'm using
[URL=link]Some Text Here[/URL]
in some of my image Descriptions (on the main image view page for each file, not in Thumbnail view.)
I would like the links to open in a new window. With regular HTML I would do that by adding target="_blank" to the <a href>. That doesn't work with BBCode, so is there something else that will?
Thanks,
C
My phpBB guide on BBCode says that with the above code a link will open in a new window, and it does in my forum.
But it opens in the same window in Coppermine. Don't know why that would be, but looking for a way to change it.
Go to: include/functions.inc.php
find
$bbcode_tpl['url'] = '<span class="bblink"><a href="{URL}" rel="external">
and add
target="_blank"
to the <a href tag>
Go to: include/functions.inc.php
find
$bbcode_tpl['url'] = '<span class="bblink"><a href="{URL}" rel="external">
and add
target="_blank"
to the <a href tag>