coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: panhead on March 18, 2004, 09:24:39 PM

Title: [Solved]: Coppermine opens full screen
Post by: panhead on March 18, 2004, 09:24:39 PM
I have integrated CPG with phpBB, including sharing the members, which works well. Just one question: on my site I have a navigation frame on the left, CPG is shown in the right frame. After logging in CPG is shown full screen, the navigation bar has disappeared. How can I make CPG open in its omw frame only?
Title: [Solved]: Coppermine opens full screen
Post by: Joachim Müller on March 19, 2004, 06:25:06 AM
link and test account (non-admin user, just to test the logon process)?

GauGau
Title: [Solved]: Coppermine opens full screen
Post by: panhead on March 19, 2004, 08:13:47 AM
Go to www.hydra-glide.net , select Pictures Gallery (new), username: gaugau, password: gaugau

Thanks
Title: [Solved]: Coppermine opens full screen
Post by: Joachim Müller on March 19, 2004, 08:27:40 AM
OK, I can see what you mean.
Please note: this is not related to coppermine, but to phpBB, since the phpBB login page sets the target for the redirect.
Here's what you do: edit /phpBB2/templates/subSilver/login_body.tpl and find<form action="{S_LOGIN_ACTION}" method="post" target="_top">Replace it with<form action="{S_LOGIN_ACTION}" method="post" target="the_name_of_your_content_frame">

GauGau

P.S. you should also apply the login redirect stuff that is discussed in http://forum.coppermine-gallery.net/viewtopic.php?p=13062 to send the visitor back to coppermine...
Title: [Solved]: Coppermine opens full screen
Post by: panhead on March 19, 2004, 09:25:40 AM
Thank you!
W.r.t. the redirect remark: I have a open question here in the forum, because I get a blank screen after implementing the required changes (http://forum.coppermine-gallery.net/index.php?topic=2972)
Title: [Solved]: Coppermine opens full screen
Post by: panhead on March 19, 2004, 10:18:51 AM
Changing _top into the name of the frame or into _self result into being logged in in phpBB, but not in CPG when you switch back. Somehow the login information is lost?
Title: [Solved]: Coppermine opens full screen
Post by: Joachim Müller on March 19, 2004, 03:58:11 PM
please see the thread that I posted before, and read it through carefully, especially the postings of EZ. If you can't get it to work, post on that thread. I'm locking this one.

GauGau