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.
ISSUE SUMMARY:
I want to change "Back to Home" uri at the end of the registration process to the site's Home page. I'm not using the JomSocial home page as such in this site. I know there are login and logout redirects but in I need this to work with registration. If you can point me to the relevant php and line I'm happy to alter it at that level.
STEPS TO REPLICATE:
1Register
2
3
4
5
RESULT Link 'Back to Home' appears which links to the wrong location for my purposes
EXPECTED RESULT More a wished for result. The 'Back to Home' button links to the site's homepage
BROWSER All
I couldn't find Register.success.php in that directory. I'm assuming you mean /jomsocial/layouts/register.success.php?
<div class="cLayout cRegister-Success">
<p><?php echo $message; ?></p>
<a href="<?php echo CRoute::_('index.php'); ?>" class="btn btn-primary">
<?php echo JText::_('COM_COMMUNITY_BACK_HOME'); ?>
</a>
</div>
I changed the code in that file, flushed the cache, dumped history and retested the process but the button is still redirecting to the JomSocial Home
<a href="/farmgatedev/index.php/community/recent-activity" class="joms-button--primary joms-button--full-small">
Back to home </a>
By the way I am using JFBConnect but it's set to use the JomSocial Registration flow.
Okay I've reversed the change in the register.success.php file and made the change in the success.php file as instructed. Flushed the cache and history, retried the process and it's still going to the 'recent-activity' location. Is there something I'm missing?