I’m using a heavily modified version of RegisterX in my site (I’ve added the possibility of registration using several user fields; some extra validation; a bit of security)
Now I need to do the following: I need to insert the content of a placeholder in a redirect page so I can place a result message in a new page. So far I’ve been able to:
- set the content for a placeholder, i.e:
$output = $modx->setPlaceholder('msg', $output); // for the placeholder [+msg+]
- create a redirect page:
$url = $modx->makeURL($gid); //&gotoid
$modx->sendRedirect($url);
return $output;
- in the redirect page I created a placeholder:
My question is how to make ’travel’ the first (the placeholder content) into the second (the redirect page).
Anyone knows how to do this, using this method or another one?
Thanks!