forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: billionaire_babe07 on August 26, 2004, 09:20:13 pm
-
I've read your FAQ and know how to add a link (Link (http://www.site.com)) but I wanted to know if there was a way to make it so the link opens in the same window, instead of opening in a new window? If there is, please help!
Thank you in advance,
Billionaire_babe07
-
edit include/functions.inc.php, find
_blank
and replace with_top
(3 times).
GauGau
-
What is the impact of this change? Does it concern the url link in the category description or any other url link as well? I tried to do what you said (could only find 1 occurence of _blank), but it did not work, when I click on a url link set up in an album properties, it opens the url in a separate new window
Thanks
-
If you only found one, then you may not have 1.3.x. There are indeed three occurrences of _blank, two in function make_clickable($text) and one in function bb_decode($text).
-
Ok, you're right I found the 3 instances. Before I go ahead and make the changes proposed above, can you please confirm that they will only affect the urls put in the album properties and nothing else?
Thanks
apassio
-
They will affect any url you write as http://yoursite.com and are made clickable plus any urls you form using bbcode.