Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Redirect to profile when editing it

8 years 8 months ago
  • Anders's Avatar
    Topic Author
  • Anders
  • Offline
  • Junior Boarder
  • Posts: 134
  • Thank you received: 2
Licenses:
JomSocial Active

Hello!
I have JS version 4.2.4
When I edit my profile and click save I still is in edit mode.
I want clicking save takes me to profile wiew.

How do I fix that?

Best regards
Anders H
Swedeb

8 years 8 months ago
Licenses:

Hi, Anders.

Thank you for contacting us.
This is default behavior and can't be changed.
Saved changes are confirmed with notice "Your settings have been saved." and page reloaded.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 8 months ago
  • Anders's Avatar
    Topic Author
  • Anders
  • Offline
  • Junior Boarder
  • Posts: 134
  • Thank you received: 2
Licenses:
JomSocial Active

It was strange!
I have previously received a php file that allows me to send profien view after editing.
I just do not know which directory I will put it
I have the attached the file

BR Anders
Sweden

8 years 8 months ago
Licenses:

Hi, Andres.

I assign developer to this thread.
Maybe he'll have idea how to solve this ;)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 8 months ago
Licenses:

Hi,

please edit:
/components/com_community/controllers/profile.php at line 679

$mainframe->redirect(CRoute::_('index.php?option=com_community&view=profile&task=edit&userid='.$user->id, false), $msg);
changing it to
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=profile&userid='.$user->id, false), $msg);

you need to re-apply this at everytime after your jomsocial upgraded. because this code file always replaced by new one.

Regards

8 years 8 months ago
  • Anders's Avatar
    Topic Author
  • Anders
  • Offline
  • Junior Boarder
  • Posts: 134
  • Thank you received: 2
Licenses:
JomSocial Active

I've made the changes you said, but when I click save I stil stay in the edit mode

BR
Anders
Sweden

8 years 8 months ago
Licenses:

Hi,

please check it. I did it for you.

Regards

The following user(s) said Thank You: Anders
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW