Author Topic: Redirect from RoundCube to a new webpage  (Read 2574 times)

Offline jmarais

  • Newbie
  • *
  • Posts: 4
Redirect from RoundCube to a new webpage
« on: April 03, 2012, 04:19:08 PM »
I have a plugin that performs a specific task. I want the user to be redirected to another page on my website but when I use the standrd redirect methods, I get an error. One that I tried is the following:
echo "<script>document.location.href='".$url."';</script>\n";

Which method can I use to take the user to an external page?

Thanks

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: Redirect from RoundCube to a new webpage
« Reply #1 on: April 03, 2012, 04:51:42 PM »
Is an iframe an option?

Rgds.

Offline jmarais

  • Newbie
  • *
  • Posts: 4
Re: Redirect from RoundCube to a new webpage
« Reply #2 on: April 03, 2012, 07:03:43 PM »
Actually iframe is the preferred option