Hello,
I've added a log-in box on the template ($LoginForm) but I want the names and feedback to be Dutch.
So I edited:
sapphire/security/MemberAuthenticor.php
Line: 84
if($form) $form->sessionMessage(
_t('Member.ERRORWRONGCRED', "That doesn't seem to be the right e-mail address or password. Please try again."),
"bad"
);
}
to:
sapphire/security/MemberAuthenticor.php
Line: 85
_t('Member.ERRORWRONGCRED', "Ongeldig e-mail adres of wachtwoord. Probeer het a.u.b. opnieuw."),
ran dev/build?flush=1
But when i log-in with an invalid email, it still gives the english message.
1) What to do with the English - Dutch output?
2) If it is possible, I would also like to have a different login class which is easier. So something like this '$LoginFormSimple'. The idea is that it is a simple version without the 'lost password' rule. How do I do this?