Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Outside links in _BLANK  (Read 3637 times)

0 Members and 1 Guest are viewing this topic.

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Outside links in _BLANK
« on: November 29, 2007, 11:40:30 pm »

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
« Last Edit: November 30, 2007, 09:37:35 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Outside links in _BLANK
« Reply #1 on: November 30, 2007, 09:37:16 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.123 seconds with 20 queries.