By Ashley Rosenthal on Wednesday, 15 January 2014
Posted in General Issues
Replies 15
Likes 0
Views 721
Votes 0
When users register on our site, go through the registration process, and hit submit, it takes them directly to a different page from what I want. I want it to take them directly to my default main page. How do I redirect this?
HI,

Which page would you like it to be redirected to?

Currently it is hardcoded in /components/com_easysocial/views/registration/view.html.php in the function complete()
·
Wednesday, 15 January 2014 10:36
·
0 Likes
·
0 Votes
·
0 Comments
·
I would like it to be redirected to the login homepage which is "skillfolio.com/loggedin"

Thank you!
·
Wednesday, 15 January 2014 10:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Just place this code:

return $this->redirect( FRoute::login( array() , false ) );


Depending on the case in the function.
·
Wednesday, 15 January 2014 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I'll give it a try, thank you!
·
Wednesday, 15 January 2014 11:12
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.
·
Wednesday, 15 January 2014 11:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay I've been tampering with that code and i'm not sure what I'm doing wrong. When someone registers it still takes them to http://skillfolio.com/portfolio/dashboard instead of skillfolio.com/loggedin (which is my homepage)
·
Wednesday, 15 January 2014 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

May I look at the code please? Or provide us an FTP.
·
Wednesday, 15 January 2014 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
The FTP is in the site details, thank you!
·
Wednesday, 15 January 2014 22:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I've added the codes in the file /components/com_easysocial/views/registration/view.html.php line 629. Can you give it a try again?
·
Thursday, 16 January 2014 11:32
·
0 Likes
·
0 Votes
·
0 Comments
·
I just tried registering and it's still going to the dashboard page. That page is almost completely unused for the purposes of my site so I would really really like if I could have it directed to our default homepage at skillfolio.com/administrator
·
Thursday, 16 January 2014 12:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Ah I misunderstood you when I saw the word "loggedin", I thought you meant EasySocial's login page instead (in which the login page redirects again to the dashboard when a user is logged in)

Apparently you meant the address skillfolio.com/loggedin instead.

The correct code should be:

return $this->redirect( rtrim( JURI::root(), '/' ) . '/loggedin' );


And I've added this in your site as well.
·
Monday, 20 January 2014 10:17
·
0 Likes
·
0 Votes
·
0 Comments
·
I was just checking into your last response because I had some users register today and reported in their feedback that upon registration it still took them to the dashboard page. I looked into my FTP and noticed that I have several php files that are associated with the EasySocial registration. I have looked into components/com_easysocial/registration.php as well as many files in the folder components/com_easysocial/themes/wireframe/registration/. I wasn't seeing this particular code or where I could enter this code into. Could you perhaps tell me which file it belongs in and I will take care of inserting it. You all do so much for us and we appreciate it greatly!
·
Monday, 20 January 2014 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It is the same file as mentioned before at /components/com_easysocial/views/registration/view.html.php in the function complete()
·
Monday, 20 January 2014 12:46
·
0 Likes
·
0 Votes
·
0 Comments
·
It worked! Thank you so much!
·
Tuesday, 21 January 2014 05:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You're welcome.
·
Tuesday, 21 January 2014 09:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post