Change GK "Sign In" to link to jomsocial registration
- GK User
- Mon Dec 10, 2012 9:20 pm
Hello - Your support has been fantastic and I truly appreciate it!
I would like to change the "Sign In" text to say "Register" and just be a link to the jomsocial registration .../index.php/jomsocial
I would like to change the "Sign In" text to say "Register" and just be a link to the jomsocial registration .../index.php/jomsocial
Home.png
-

- Senior Boarder
- GK User
- Mon Dec 10, 2012 11:34 pm
Please open file template/layouts/blocks/logo.php and in lines 50-52 find this part :
Then just change this part of URL
- Code: Select all
<?php if((GK_REGISTER) && ($userID == 0)) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
Then just change this part of URL
- Code: Select all
index.php?option=com_users&view=registration
-

- Platinum Boarder
- GK User
- Tue Dec 11, 2012 3:41 am
Thank you very much for your reply. I'm sorry, but this is not working. I may be missing something, I'm sorry.
I found the code:
My jomsocial reg url is: mydomain.com/index.php/community/register
What do I need to put so that there is a button "Register" that takes user to jomsocial registration. No popup...like in the image above.
Thank you in advance for your patience and your help.
I found the code:
- Code: Select all
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
<div id="gkButtons">
<?php if((GK_REGISTER) && ($userID == 0)) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
My jomsocial reg url is: mydomain.com/index.php/community/register
What do I need to put so that there is a button "Register" that takes user to jomsocial registration. No popup...like in the image above.
Thank you in advance for your patience and your help.
-

- Senior Boarder
- GK User
- Wed Dec 12, 2012 9:27 am
To disable pop-up you need to disable mod_gk_register module via your module manager. Then change this URL visible on attached code and your 'Register' button will redirect to JomSocial register form.
-

- Platinum Boarder
- GK User
- Wed Dec 12, 2012 9:59 pm
Thank you for this reply - I have searched all over the boards and I am confused.
There are two module positions in the upper right - "Register" and "Login" - The login popup is fine as is.
In the template the gk_register module displays as "Sign Up". I would like to do two things:
1. Change the button text "Sign Up" to say "Register"
2. Make "Register" just a link (not a popup) to .../community/register
I have tried disabling the gk_register module and "Sign Up" goes away. I then tried adding a custom HTML module button to the register position and no matter what I name it it will appear as "Sign Up"
Please be very clear on how to accomplish - Pretty please
Thank you so much for your help.
There are two module positions in the upper right - "Register" and "Login" - The login popup is fine as is.
In the template the gk_register module displays as "Sign Up". I would like to do two things:
1. Change the button text "Sign Up" to say "Register"
2. Make "Register" just a link (not a popup) to .../community/register
I have tried disabling the gk_register module and "Sign Up" goes away. I then tried adding a custom HTML module button to the register position and no matter what I name it it will appear as "Sign Up"
Please be very clear on how to accomplish - Pretty please
Thank you so much for your help.
-

- Senior Boarder
- GK User
- Thu Dec 13, 2012 2:57 am
I figured out #1 - editing the en-GB...file.
I'm still stuck on getting that to link to JS reg.
Thanks!
I'm still stuck on getting that to link to JS reg.
Thanks!
-

- Senior Boarder
- GK User
- Thu Dec 13, 2012 3:13 am
I have disabled the gk_registration mod
It is pointing to the correct registration link - but on click is still brining up an empty popup
It is pointing to the correct registration link - but on click is still brining up an empty popup
-

- Senior Boarder
- GK User
- Thu Dec 13, 2012 3:43 am
SOLVED - I got it! - had to remove
I truly appreciate all your help. Thank you for your patience.
- Code: Select all
id="btnRegister"
I truly appreciate all your help. Thank you for your patience.
-

- Senior Boarder
- GK User
- Thu Dec 13, 2012 10:25 am
It is wired because looks like script still detects the register popUp. Your solution is correct, sorry for delay.
-

- Platinum Boarder
9 posts
• Page 1 of 1
