2020-12-25, 10:35 AM
2020-12-25, 12:47 PM
It should be enough to replace
{$lang->username}
in the member_register
template with Enter username:
or whatever you want. If that doesn't work, then maybe you are editing the template for the wrong theme?2020-12-25, 03:30 PM
Edit the language itself by going to
ACP > Configuration > Languages
Then find
Find the string that represents "Username" and change it.
ACP > Configuration > Languages
Then find
global.lang.php
, choose 'Edit' at right.Find the string that represents "Username" and change it.
2020-12-25, 06:05 PM
You can also useĀ
placeholder="Enter Username"
and it will look like this2020-12-25, 07:01 PM
Instead of editing core lang files and having to redo such edits on each core update why not simply
Note: only issue with this is while "username" will remain localized "enter" will not be and if that bugs you then perhaps adding a lang var will be your choice:
Ie:
modify the previous snippet to compensate for new lang var:
Best of luck
placeholder="Enter {$lang->username}" title="Enter {$lang->username}"
Note: only issue with this is while "username" will remain localized "enter" will not be and if that bugs you then perhaps adding a lang var will be your choice:
Ie:
$l['enter'] = "Enter";
* though you will need to re-add new lang var to lang file on each core update as such will most likely be overwritten..modify the previous snippet to compensate for new lang var:
placeholder="{$lang->enter} {$lang->username}" title="{$lang->enter} {$lang->username}"
Best of luck