I was wondering how I could have EasySocial redirect to a page other than my dashboard after a user registers?
AshRose822
27 replies
Ezrul Fazwan replied on Monday, February 23 2015, 03:51 PM
Accepted Answer
Hello Justin,

It is currently not possible out of the box because there is no such settings for the profile type currently. However, in order to achieve what you want, you can customize the codes in the file /components/com_easysocial/views/registration/view.html.php and at line 760, you could use a similar code as below and apply your own logics.


if ($profile->id = 1) {
//do redirection url here
}

if ($profile->id = 2) {
//do another redirection url here
}


The profile id, can be found at the back end of the profile types area. Hope these help :)
You might want to check these cool stuff:
http://facebook.com/StackIdeas
http://twitter.com/stackideas
http://stackideas.com/support

You can also check out our very own documentation page:
http://stackideas.com/docs

You can also contact us via our helpdesk, https://crm.stackideas.com

Best regards,
Ezrul
Your time
Stack Ideas time
Support is
Offline
It's weekend!

It is currently a weekend from where we are at. Some answers may already be available on our documentation at http://stackideas.com/docs

Rest assured that we will get back to your posts as soon as the week starts!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)