Outside links in _BLANK Outside links in _BLANK
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Outside links in _BLANK

Started by Pascal YAP, November 29, 2007, 11:40:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pascal YAP

It's a cosmetic issue, but everybody want a new window for outside links. (vanity link, bookmarks links or Copyright CPG...)
I'm irritating to be pushed out from my own Gallery  ;D

PYAP

Joachim Müller

Using the target="_blank" attribute in links is deprecated and would render the coppermine output invalid in terms of HTML validation, that's why the Coppermine dev team has decided for cpg1.4.x to open external links in the same window and just adding the rel="external". You (as dev team member) are welcome to look that discussion up on the dev-only board.
There are instructions posted in the thread "Change 'Powered by CPG' link to target=_blank ?" that will allow you to accomplish what you're up to. Quite frankly I just hate it if I'm bossed around by site owners who open external pages in new windows - usually I leave sites doing that immediately. In my opinion 90% of all surfers know their browser good enough to be aware that they can open a link in a new window if they want to. 99% of all surfers know how to use the "back"-button of their browsers, so this should not be an issue neither. Why should we want to boss users around?
This being said: the target="_blank" attribute will never return into Coppermine's core code if I'm allowed to have a say on that. You're welcome though to do one of the following things:
a) add the instructions of above mentioned sticky thread into the cpg1.5.x documentation
b) add the corresponding JavaScript into the core, with an option in coppermine's config to enable it (default must be off).

Marking thread as "Turned down" - target="_blank" will not return.

You originally posted this thread on the cpg1.5.x bugs board. As it is most definitely not a bug, Nibbler moved your thread here.