1 mfvisuals Aug 21, 2009 09:43
3 mfvisuals Aug 23, 2009 04:44
Well, normally it wouldn't be a big deal except that they are external links and I want them to open in new windows so that users can close those windows when they're done with them and be back at my site.
Also, opening new windows does not use that much memory, so unless the user is running a really old computer, I doubt it would be a problem.
In any case, thanks for the response.
4 mfvisuals Aug 23, 2009 05:12
By the way, I already ran across that topic before, but it didn't seem to have what I was looking to find.
However, I searched for a string of code that was quoted in one of the posts in that topic, from the file "_itemlight.class.php" located in inc >> items >> model (v.3.3.1).
On line 814, the line:
$r .= '<a href="'.$url.'">'.$title.'</a>';
I changed to read:
$r .= '<a href="'.$url.'" target="_blank">'.$title.'</a>';
Now everything works great.
Thanks.
5 lllusion May 09, 2012 18:49
Great solution. Thanks!
6 tilqicom May 09, 2012 19:58
lllusion wrote:
Great solution. Thanks!
core hacking is not the best option for such a simple hack
7 lllusion May 11, 2012 17:44
tilqicom wrote:
core hacking is not the best option for such a simple hack
Fair enough. http://forums.b2evolution.net/viewtopic.php?t=20629&sid=c2fe56ce3db9c8a41781d08c3e12bac5 works well enough.
This has been asked before...
something recent here:
http://forums.b2evolution.net/viewtopic.php?t=18703&highlight=open+window
Personally, i think opening links in new windows is a bad idea as IE & Firefox take lots of ram to open a new version of themselves ... and then my pc gets really slow.