Hi,
v2025
very confused.
where is this file managed? OneTimePasswordEmail.en-US.php
and only an English version is generated.
its not in the list
then this file is generated (in multiple languages)
OneTimePassword.en-US.php
but its not used anywhere…
// Email/SMS Templates
"EMAIL_CHANGE_PASSWORD_TEMPLATE" => "ChangePassword.php",
"EMAIL_NOTIFY_TEMPLATE" => "Notify.php",
"EMAIL_REGISTER_TEMPLATE" => "Register.php",
"EMAIL_RESET_PASSWORD_TEMPLATE" => "ResetPassword.php",
"EMAIL_ONE_TIME_PASSWORD_TEMPLATE" => "OneTimePasswordEmail.php",
"EMAIL_LOGIN_LINK_TEMPLATE" => "LoginLink.php",
"SMS_ONE_TIME_PASSWORD_TEMPLATE" => "OneTimePasswordSms.php",
this is what is generated…
is it just me?
mobhar
March 30, 2025, 3:42am
2
For another languages, you need to copy from the English version, and then adjust the language information in the modified file version.
Thanks for your input.
I understand that, but if you look closely, phpm generated 5 files of onetimepassword.xx.xx and the one if onetimepasswordemail.xx.xx
In 2024 the 5 i show are used, now i can’t find reference to them and they were whatvwe were using… and theres3that lone onetimepaaawordemail.php that you can’t modify because it gets rewritten all the time as its not in the phpm list …
Make sense?
Thanks,
Js
You should put customized email/sms template in Language-Specific Templates
ok, let me try again, I tried with support and once again its like a brick wall.
this was taken from my 2024 project, 5 languages, and they are checked for generation
2025 generated 1 file: OneTimePasswordEmail.en-US.php – thats it… nothing else in other languages
it also generated 5 files of: OneTimePassword.en-US.php – which IS EXACTLY LIKE v2024 in the 5 languages…
in 2024 config.php
// Email/SMS Templates // P2024
"EMAIL_ONE_TIME_PASSWORD_TEMPLATE" => "OneTimePassword.php",
in 2025 email/sms templates:
// Email/SMS Templates
"EMAIL_ONE_TIME_PASSWORD_TEMPLATE" => "OneTimePasswordEmail.php"
look at the files 2025 generated:
and the file is not even listed in the UI
show me the file(s) for this OneTimePasswordEmail.php and the other languages in the ide:
so either I’m stupid, or there’s a problem here…
arbei
April 5, 2025, 1:00pm
6
You may try to open C:\Users\<user>\AppData\Roaming\phpmaker2025\src and change:
<script name="OneTimePassword" />
to
<script name="OneTimePasswordEmail" />