Page 1 of 1

RedirectForFrontEnd inline problem?

Posted: Thu Jun 04, 2009 12:06 am
by fredlund
Hi,

I got some problem with redirecting frontend user to an new page.
when i try using "inline = true" it works, problem is that the content is in wrong "content block" and the page is same as i posted from.

I also  tried to use "inline = false", but then i came to same page i posted from.

my code:

Code: Select all

$params = array('from'=> $params['from'], 'to' => $params['to']);
$this->RedirectForFrontEnd($id, $returnid,'mypage' , $params, false);
if i do like this:

Code: Select all

redirect('http://mypage.com/index.php?mact=mymodule,m3,mypage,1&m3from=' . $params['from']  .'&m3to=' . $params['to']  .'&m3returnid=56');
it works, but i want to use the CMSMS functions.


best regards