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.

How to be directed to my profile after editing?

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

Hello!
I have reinstalled SomSocial version 4.5, when beta version caused major problems for me.
I want, when I edit my profile, and then click "Save Changes" be redirected to my profile and do not stay in edit mode.
I have received these instructions from you:


go to components/com_community/controllers/profile.php
find this code :
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=profile&task=edit'.$additionalInfo, false), $msg);
replace to
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=profile' , false), $msg);

I have done this but still remain in edit mode, and will not be redircted to my profile.

BR
Anders Hidman

1 year 8 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi

File is correct /components/com_community/controllers/profile.php, but the line to replace should be line 677, which looks like:

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

and needs to be changed to:

$mainframe->redirect(CRoute::_('index.php?option=com_community&view=frontpage' , false), $msg);

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