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 redirect registration success to login screen and not registration

10 years 9 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

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>

Kind regards

Mel

10 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Mel,

Please you try with this URL :

<?php echo CRoute::_('index.php?option=com_community'); ?>

hope it will help

cheers!

10 years 9 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

Dimas thank you!

That works perfectly :)

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