Change "Sign In"

Permalink Browser Info Environment
I want to change the words used for sign in from:

"Sign In"

to:

"Member Login"

I have some other changes already and have those changes in root/blocks/ajax_login/templates/...

I found what I thought would change those words in controller.php line 31:

if(!$this->popupLinkText) $this->popupLinkText=t("Sign In");


which I changed to:

if(!$this->popupLinkText) $this->popupLinkText=t("Member Login");


and then placed that controller.php file in my templates folder, but it did not work.

I have the following settings checked in this addon:

- Hide login & password fields if user is logged in.
- Show Login Form in Popup

Are you willing to offer some guidance please?

Thanks,

Type: Discussion
Status: New
uswebdesigner
View Replies: View Best Answer
c5studio replied on at Permalink Best Answer Reply
c5studio
What you are changing there is the default text for the popup link, which you can also set in the options under "Link Text"

If you want to change the text on the button, that is line 43 of the original view.php
echo $form->submit('submit', t('Sign In') . ' >')

needs to be changed to
echo $form->submit('submit', t('Member Login') . ' >')
uswebdesigner replied on at Permalink Reply
uswebdesigner
Thanks. I did not see that in the options because the options box, (it was hidden because the options box has a short height). That certainly makes it easy.

Funny that I did make that change in the controller.php file and it did not reflect on my site. Perhaps what is in the box over-rode what I changed in the controller.php.

Anyways, thanks.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.