Support

  1. leesiusing
  2. Support
  3. Monday, September 29 2014, 09:23 AM
How to redirect user to a specific page upon edit profile?
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry
<?php
JFactory::getApplication()->setUserState('com_users.edit.profile.redirect',JRoute::_('index.php?Itemid=343'));
?>

we have missing ) at the end of line
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Hi,
sorry with Easy Profile this is not possible. You can do this with some other plugin.

Easy Profile extends Joomla registration and edit profile page, but the page is the same of Joomla.

Another way to do this is to override Joomla edit profile template:
- Copy /components/com_users/views/profile/tmpl/edit.php into /templates/your_template_folder/html/com_users/profile/edit.php
- add this line to the end of file (/templates/your_template_folder/html/com_users/profile/edit.php)
<?php
JFactory::getApplication()->setUserState('com_users.edit.profile.redirect',JRoute::_('index.php?Itemid=343');
?>

- replace 343 with Id of menu item to redirect
  1. more than a month ago
  2. Support
  3. # 1
leesiusing Accepted Answer
Errors:

Parse error: syntax error, unexpected ';' in /Applications/XAMPP/xamppfiles/htdocs/xampp/osn/templates/jm-hotel/html/com_users/profile/edit.php on line 138
  1. more than a month ago
  2. Support
  3. # 2
leesiusing Accepted Answer
thx so fucking much!
  1. more than a month ago
  2. Support
  3. # 3
leesiusing Accepted Answer
how about user list redirection?? similar doing?
  1. more than a month ago
  2. Support
  3. # 4
distudios Accepted Answer
Pro
Hallo, please how do i solve the:

Parse error: syntax error, unexpected ';' in /Applications/XAMPP/xamppfiles/htdocs/xampp/osn/templates/jm-hotel/html/com_users/profile/edit.php on line 138
  1. more than a month ago
  2. Support
  3. # 5
distudios Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 6
admin Accepted Answer
Admin
Hi distudios, can you please post me your site details? you can use the form below the reply in "site details" tab. if possible can you please post me even FTP access.
  1. more than a month ago
  2. Support
  3. # 7
jlavender Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 8
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was weekend for us :)

Try to create a menu item of type Easy Profile->User Profile with alias "my-profile"
  1. more than a month ago
  2. Support
  3. # 9
jlavender Accepted Answer
Basic
Thank you for the reply. Your suggestion fixed my problem. I guess the issue was the menu link I had moved the user directly to the edit profile page (so Home page to Edit Profile) and on submit brought the user back to the Home page and made the user profile information visible.

Thanks
  1. more than a month ago
  2. Support
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.