coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: ryndog on November 17, 2003, 06:00:44 PM

Title: Target Fame Settigns
Post by: ryndog on November 17, 2003, 06:00:44 PM
I am running my site in frames.  One main frame (where coppermine goes), and a second footer frame (which is basicaly for midi music that plays throughout the site.

My question is, whenever clicking on the Coppermine link in the modules block, the link directs the browser to go 'Full Screen', intead of the framed screen _self.  This ALSO happens with my link in custom menu block I made, AND using the target commend in the html to keep it in the same frame:

Quote<strong><big>·</big></strong>
<a target="_self" href="modules.php?name=coppermine&cat=3">Mac's Photo
Gallery</a><br>

As you can see, I need to change the default link in Coppermint to "_self" target frame, or change any instances to that.  Where can I find this?  Am I looking in the right area?

You can see it at www.ryndog.com/mac/index2.html

If you ned more info, just let me know.  Thanks.
Title: Target Fame Settigns
Post by: DJMaze on November 17, 2003, 08:20:50 PM
you are trying to run phpNuke framed?

Well that works even when you use coppermine.

Just give each frame a name
Title: Target Fame Settigns
Post by: ryndog on November 18, 2003, 03:48:48 AM
thankyou for your reply, yes I am running phpnuke framed.  and it works great, except when clicking on any coppermine links.  anything that links to coppermine takes it out of the framed session.  make any sense.  you can check it out at www.ryndog.com/mac.  click on Mac's Photo Gallery, and you will notice the music stops.  seems the targ frame is _top instead of _self (or default).
Title: Target Fame Settigns
Post by: ryndog on November 18, 2003, 03:56:00 AM
Yes, I also tried it targeting to the name of the frame (which is main) and the same result occurred:

Quote<strong><big>·</big></strong>
<a target="main" href="modules.php?name=coppermine&cat=3">Mac's Photo
Gallery</a><br>

Does it refresh into a _top somehow inside coppermine?  Is there a setting somewhere that you can change for the default of the target frame for links in coppermine?

Thanks again.
Title: Target Fame Settigns
Post by: ryndog on November 23, 2003, 06:21:06 PM
can any help out with this?
Title: Target Fame Settigns
Post by: DJMaze on November 23, 2003, 07:59:41 PM
check default theme.

because i also tried a framed version without any problems.
Title: Target Fame Settigns
Post by: gtroll on November 24, 2003, 07:00:26 AM
check the js there is  a function to break out of frames delete//FrameBuster
     if (self != top) top.location.replace(self.location);
 
and you should be ok......
Title: Target Fame Settigns
Post by: ryndog on November 26, 2003, 06:01:33 PM
Can you be a little more specific on how to achieve this?  Thanks.
Title: frames
Post by: gtroll on November 26, 2003, 07:54:08 PM
open modules/coppermine/scripts.js
find
//FrameBuster
     if (self != top) top.location.replace(self.location);

remove
Title: Target Fame Settigns
Post by: ryndog on November 29, 2003, 01:15:02 AM
THANKS!

It was a succes.