Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: jmarais on April 03, 2012, 04:19:08 PM

Title: Redirect from RoundCube to a new webpage
Post by: jmarais 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
Title: Re: Redirect from RoundCube to a new webpage
Post by: oldschool on April 03, 2012, 04:51:42 PM
Is an iframe an option?

Rgds.
Title: Re: Redirect from RoundCube to a new webpage
Post by: jmarais on April 03, 2012, 07:03:43 PM
Actually iframe is the preferred option