Forums

Directing Users Away from the Regular Registration Page

mov2046 21 Jan, 2011
Hi,

I built an extended Joomla registration page, and I was trying to redirect users away from the regular registration page. I tried on two different Joomla instances. I still can't get the "Create an Account" link on Joomla's login box to be redirected to my new extended Joomla registration page.

I used the codes given on the Building a Joomla Registration Form tutorial. I replaced the codes on components\com_user\views\register\tmpl\default.php with

<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('myNewChronoFormUrl');
?>

Any advice would be appreciated.

Thanks,
mov2046
GreyHead 21 Jan, 2011
Hi mov2046,

Please check if there is a template override in place for this view. If there is then the code needs to go into the override file.

I think you need to look in templates/{template_name}/html/com_user/register

Bob
mov2046 21 Jan, 2011
Thank you, Bob, again for your quick reply and help. Got it to work.
This topic is locked and no more replies can be posted.