Topic-icon Login labels

Active Subscriptions:

None
1 year 6 months ago #69092 by TheAnt
Login labels was created by TheAnt
Hello
I chose “text” as the Modal style. For the link I would like to use another phrase, something like “Are you already registered? Login here.” If I change “Login” in the nod_sclogin.ini file the new phrase is also used in the module button where instead it should simply remain “Login”. Is there no possibility to use two different texts?
The topic has been locked.
Support Specialist
1 year 6 months ago #69093 by mel
Replied by mel on topic Login labels
Looks like you're right. They're using the same language key. I can make the change for the next build to use separate keys, but if you want to do it yourself in the meantime, do the following:

In /modules/mod_sclogin/tmpl/login.php, search for MOD_SCLOGIN_LOGIN (around line 84).
Change it to MOD_SCLOGIN_LOGIN_MODAL_LABEL. Then in the mod_sclogin.ini define the new string MOD_SCLOGIN_LOGIN_MODAL_LABEL="Are you already registered? Login here" and keep the original MOD_SCLOGIN_LOGIN="Log In"

-Melissa
The following user(s) said Thank You: TheAnt
The topic has been locked.