RedirectForFrontEnd inline problem?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
fredlund
New Member
New Member
Posts: 3
Joined: Thu Apr 30, 2009 12:52 pm

RedirectForFrontEnd inline problem?

Post 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
Post Reply

Return to “Modules/Add-Ons”