gk Register + JomSocial form
- GK User
- Fri Dec 30, 2011 6:45 am
Hi GK team,
I used JomSocial 2.4.1 with GK Musicity.
and I would like to used JomSocial register form for gk-Register popup module not com_users form.
How to solve its? How to override?
Cheers.
I used JomSocial 2.4.1 with GK Musicity.
and I would like to used JomSocial register form for gk-Register popup module not com_users form.
How to solve its? How to override?
Cheers.
-

- Fresh Boarder
- GK User
- Fri Feb 24, 2012 2:46 am
normanUK wrote:For joomla 2.5
Find File: \templates\gk_twn2\layouts\blocks\logo.php
Find Lines: 46 to 57 which is below
- Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
<div id="gkButtons">
<div>
<?php if(GK_LOGIN) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=login" id="btnLogin"><span><?php echo $btn_login_text; ?></span></a>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
Replace with below
- Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
<div id="gkButtons">
<div>
<?php if(GK_LOGIN) : ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_community' ); ?>" id="btnLogin"><span><?php echo $btn_login_text; ?></span></a>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_community&view=register' ); ?>" id="btnRegister"><span><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></span></a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
Find File: \templates\gk_twn2\js\gk.scripts.js
Delete Lines: 38 to 96 Do not delete line 97 , we are just removing login and register popup functions as we are not using it anymore as well as to prevent IE7 users having problems.
From:
- Code: Select all
delete from 38 - // login popup
up to line 96 - }
dont delete line 97 - // nsp header suffix improvement ;)
To 121261: Please try last edit removing script popup effect as we are not using it.
Thats it. See you around...
-

- Senior Boarder
- GK User
- Wed Sep 04, 2013 11:47 pm
hello, I'm trying to redirect the link to register for the site jomsocial of Rockwall 3.x. Where can I find this script?
thank you
thank you
-

- Fresh Boarder
3 posts
• Page 1 of 1
