forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: palm3ro on March 04, 2012, 06:16:17 pm

Title: cpmfetch in iframe
Post by: palm3ro 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.
Title: Re: cpmfetch in iframe
Post by: Αndré 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.