[Solved]: Coppermine opens full screen [Solved]: Coppermine opens full screen
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Coppermine opens full screen

Started by panhead, March 18, 2004, 09:24:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panhead

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?

Joachim Müller

link and test account (non-admin user, just to test the logon process)?

GauGau

panhead

Go to www.hydra-glide.net , select Pictures Gallery (new), username: gaugau, password: gaugau

Thanks

Joachim Müller

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...

panhead

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)

panhead

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?

Joachim Müller

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