Forum Moderators: coopster

Message Too Old, No Replies

phpBB trouble with iframe

want to keep the forum within the frame, but login causes problem

         

will1480

1:59 am on May 19, 2004 (gmt 0)

10+ Year Member



I am running phpBB forum in an iframe. It works fine except for the login.php page. When you hit submit (for login) it changed the parent frame so I loose all my headers and such. I went into the login.tpl and tried changing the target from "_top" to "top.framename". This made it load in its own window. Does anyone know how to work around this?

will1480

2:29 am on May 19, 2004 (gmt 0)

10+ Year Member



I found the problem. I am unfamiliar with frames for the most part. I thought 'top' accessed the highest up parent and then by appending the frame name to it, you could have it target that fram. Example: taget="top.framename", but this didnt work. Since the link is from within the frame itself, using target="framename" seems to work. Oh well, learned something i guess :)