Redirect after register a new user
I have a Form to register a new user.
After the registration I like to go to the Link:
http://ifsda.org/index.php/members/userprofile/M-2657
Where M-2657 is the username
How can I do this redirect?
[attachment=0]form.jpg[/attachment]
After the registration I like to go to the Link:
http://ifsda.org/index.php/members/userprofile/M-2657
Where M-2657 is the username
How can I do this redirect?
[attachment=0]form.jpg[/attachment]
Using a "custom code" action, you may use this code:
Where "username" is the name of the "username" field in your form!
Regards,
Max
<?php
$mainframe = JFactory::getApplication();
$mainframe->redirect("http://ifsda.org/index.php/members/userprofile/".$form->data("username"));
Where "username" is the name of the "username" field in your form!
Regards,
Max
This topic is locked and no more replies can be posted.