- Posts: 5
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] K2 User Url redirection after login: issue with Joomla 3.4.8
[SOLVED] K2 User Url redirection after login: issue with Joomla 3.4.8
- Céline
-
Topic Author
- Offline
- New Member
I have a problem with K2 User Url redirection after login.
When I log in, the redirection is now to mysite/component/users/profile, instead of the menu item I set in K2 User module.
This problem has occured when I updated to Joomla to 3.4.6. I now updated again to 3.4.8, but it hasn't solved the issue.
Any idea how to fix it?
Thanks a lot,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Céline
-
Topic Author
- Offline
- New Member
- Posts: 5
Any news on the matter?
Please Log in or Create an account to join the conversation.
- Maria Dacus
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Please Log in or Create an account to join the conversation.
- Maria Dacus
-
- Offline
- New Member
- Posts: 2
The site is HERE and you can login with the following credentials (note this is a basic registered user login to view the login process):
user: test
password: test123
Please Log in or Create an account to join the conversation.
- Litho-Verlag e.K.
-
- Offline
- Senior Member
- Posts: 67
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Are you using any overrides for that module?
Please Log in or Create an account to join the conversation.
- Litho-Verlag e.K.
-
- Offline
- Senior Member
- Posts: 67
Please Log in or Create an account to join the conversation.
- Sarah Allen
-
- Offline
- Junior Member
- Posts: 34
All was working fine when I set up the logins a few months ago, but I have since updated my Joomla version (as each update notification appears) and am now on 3.5.1 and discovered the issue with K2 logins yesterday.
I cannot provide access to me site, but I am attaching a screenshot of the page before login, after login and the module settings in the back end.
imgur.com/a/g5zPA
Any help would be appreciated!!
Thanks,
Sarah
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Elite Member
- Posts: 169
At modules/mod_k2_user/helper.php file at Line 26
$url = JRoute::_($item->link.'&Itemid='.$itemid, false);
change the code above with the following one
$url = 'index.php?Itemid=' . $item->id;
Let me know if that works for you.
Please Log in or Create an account to join the conversation.
- Sarah Allen
-
- Offline
- Junior Member
- Posts: 34
That worked a treat! Thanks so much! Really appreciate it!! :)
Sarah
Please Log in or Create an account to join the conversation.
- Céline
-
Topic Author
- Offline
- New Member
- Posts: 5
it works perfectly!
Please Log in or Create an account to join the conversation.
- Gastón Camaño
-
- Offline
- New Member
- Posts: 9
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] K2 User Url redirection after login: issue with Joomla 3.4.8