Sign in = Jomsocial Sign In?

GK User
Tue Jan 10, 2012 12:58 am
Could pls tell me someone where I can change the joomla registration form to the jomsocial?
I activated the hellome module in the login module position an deactivated the joomla one, but sign in is still joomla reg form.

Thx
User avatar
Senior Boarder

GK User
Tue Jan 10, 2012 10:53 am
Hi,

Open this file: \templates\gk_musicity\layouts\blocks\tools\login.php

Find this code:
Code: Select all
<?php if($this->modules('login')) : ?>      
<div id="loginForm"<?php echo $popup_class; ?>>
   <h3><?php echo JText::_(($userID == 0) ? 'TPL_GK_LANG_LOGIN' : 'TPL_GK_LANG_LOGOUT'); ?></h3>
   <jdoc:include type="modules" name="login" style="<?php echo $this->module_styles['login']; ?>" />
</div>
<?php endif; ?>   


And change to something like:
Code: Select all
<?php if($this->modules('JOMSOCIALLOGINMODULENAME')) : ?>      
<div id="loginForm"<?php echo $popup_class; ?>>
   <jdoc:include type="modules" name="JOMSOCIALLOGINMODULENAME" style="<?php echo $this->module_styles['JOMSOCIALLOGINMODULENAME']; ?>" />
</div>
<?php endif; ?>   

Remember to change "JOMSOCIALLOGINMODULENAME" to the correct module name.
User avatar
Platinum Boarder


cron