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: cpmfetch in iframe  (Read 3913 times)

0 Members and 1 Guest are viewing this topic.

palm3ro

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
cpmfetch in iframe
« on: March 04, 2012, 06:16:17 pm »

On my page under construction i have cpmfetch in an iframe, then i cklick on a photo from chat cpmfetch it opens witin that ifram, is it possible to open in a new window/tab?I added target="_blank" to this row
<script src="http://galleri.fkljusdal.se/?file=fetchcontent/js&album=random" type="text/javascript"></script>
So it was
<script src="http://galleri.fkljusdal.se/?file=fetchcontent/js&album=random" target="_blank" type="text/javascript"></script>
But it didnt do it either.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpmfetch in iframe
« Reply #1 on: March 05, 2012, 03:11:25 pm »

Obviously that won't work, as you've added that attribute to the script, but you have to add it to the generated links. As I'm not familiar with the CPMFetch code, you have to search for the correct place yourself. But I guess it's in some PHP file of the CPMFetch plugin code.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.