Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How can I make the "Powered by Coppermine" footer open in a new window?  (Read 3390 times)

0 Members and 1 Guest are viewing this topic.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120

Sounds trivial I know, but my "Hosted by..." and other similar footer links all open in new windows, so I'd like this one to as well!

Where do I add the target="_blank"?

Thanks guys :)

Wave
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.

Please post a link. http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Please read the documentation. http://documentation.coppermine-gallery.net/en/theme_copyright.htm
Quote
This being said, this is how you can change the tag: to edit the place where the tag is being displayed, edit themes/yourtheme/template.html and move the placeholder {CREDITS} around. If you remove it from themes/yourtheme/template.html, the original default tag will show through. As it is being generated by Coppermine's pagefooter function, it needs to appear below the {GALLERY}-token. To change the content of the disclaimer, edit themes/yourtheme/theme.php and edit the function theme_credits as you see fit. If this function doesn't exist in your custom theme, copy it from the sample theme into your custom theme first. To actually remove the "Powered by Coppermine"-footer completely from the output, just modify that function to output nothing.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

The core plugin 'link_target' should do the samewhat you ask for, but it applies to all links containing the 'rel="external"' attribute and also just works when JavaScript is enabled.
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120

Heya guys sorry I didn't reply to this back then, something must have come up. But thank you very much, I have made this change so that it opens in a new tab/window. Don't worry I would never remove that text as I believe in giving full credit to you guys as well as MyBB and other groups that have made things that my site wouldn't be possible without!

So erm.. yeah, thank you very much for the help on this! ^_^
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.