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 redirect registration success to login screen and not registration
ISSUE SUMMARY:
When a user has completed the registration process I need them to login (ideally automatically, but just changing the back to home button to login would be good).
I have created a custom override and have tried various options to get the back button to instead open the login box but instead of opening the login page, users get trapped in a cycle of having to register again (basically brings up the registration page).
If i use component/users/?view=login - it opens my readybites registration page
If I use 'community' - it opens the Jomsocial registration page
What value does that section meed to open up the login screen?
<?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <[email protected]>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0
* More info at https://www.jomsocial.com/license-agreement
*/
defined('_JEXEC') or die();
?>
<div class="joms-page">
<p><?php echo $message; ?></p>
<a href="<?php echo JRoute::_('component/users/?view=login'); ?>" class="joms-button--primary joms-button--full-small">
<?php echo JText::_('Login'); ?>
</a>
</div>