Jump to content


Admin area with frames


2 replies to this topic

#1 Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 27 August 2006 - 08:56 PM

I'm having problems linking back to my admin (main)page.

The Admin section is using frames. One left side frame, (100% hieght)
and the content frame. Now to link back to the admin page is easy,
but sometimes it will put the whole page inside the content section.
Leaving 2 left side admin panels.
There's a part where I need a redirect.
I'm using
header( 'Location: admin.php' );
Is there a way to insert target="_parent"
in the above code?

Thank you

P.S I'm using PHP

Edited by Hooch, 27 August 2006 - 08:57 PM.


#2 Chaos King

    Senior Programmer

  • P2L Staff
  • PipPipPip
  • 676 posts
  • Gender:Male
  • Location:Florida

Posted 27 August 2006 - 08:59 PM

I don't understand what you are trying to say. If you redirect in the content frame, there shouldn't be a left frame because that content frame only displays content... ( duh )

#3 Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 27 August 2006 - 09:37 PM

(duh) is right.
I was redirecting to the admin.php, when I should have
directed to admin-content.php.
Thank you.

EDIT**
The redirect of the admin-content.php (from the same frame)
resets to the whole page. Leaving out the frames.
Obviously I have set something up wrong.

Edited by Hooch, 28 August 2006 - 04:33 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users