Change sign in text to register...

GK User
Thu Nov 24, 2011 2:25 am
I am using musicity joomla 1.7 I want to change the sign in text on the top right corner to register. I think its confusing to people since sign in is register why not name it register.

Also when the register/sign in is clicked i want it to take users to the jomsocial register page instead of joomla if possible
User avatar
Senior Boarder

GK User
Sat Dec 31, 2011 3:34 pm
I have the same issue...

Please help!
User avatar
Fresh Boarder

GK User
Sat Dec 31, 2011 5:51 pm
You can change the language in the language file which you find in: /joomla-root/language/en-GB/gk_musicity.ini

I might have gotten the file name wrong there but it should look like something like that. Open the file, search for the thing you want to edit and then change it and save.

To change the register link so that it goes to Jomsocial you need to first publish a login module in the login positioin. You shouldn´t have any module published in the register position.

Then download and edit the file:

/joomla-root/templates/gk_musicity/layouts/blocks/logo.php

On line 50 you will find this code:

Code: Select all
<?php if((GK_REGISTER) && ($userID == 0)) : ?>


Change it to:

Code: Select all
<?php if((GK_LOGIN) && ($userID == 0)) : ?>


Then on the line below (line 51) you will find a Joomla register link just after this code:

Code: Select all
<a href="<?php echo $this->URLbase(); ?>


Delete that link and replace it with your Jomsocial register link, it should be a relative link.

Save and upload your file to your site again, clear your cache and it should work now.
User avatar
Platinum Boarder


cron