By Doh on
I made several changes to user.module, such as replacing "Create new account" with "Join us", "Request new password" with "Forgot password?", "Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores." with "Your username can be from 1–15 characters (a–z, A–Z, 0–9, space, underscore), it must begin alphabetically, it cannot end in a space, and it cannot contain two spaces in a row.", etc.
Now since you should not directly change core files, how can I get my modified user.module to over-ride the core one?
Or is there a better way of making said changes?
Comments
It can't override the core
It can't override the core module.
Why not try this module.
- Corey
That's perfect, Thanks!
That's perfect, Thanks!
String Override only override
String Override only override the text. how could I override the business logic like
"Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores." with "Your username can be from 1–15 characters (a–z, A–Z, 0–9, space, underscore), it must begin alphabetically, it cannot end in a space, and it cannot contain two spaces in a row.", etc.
without modify the core modules........
Using locale module Create a
Using locale module
Create a new langage, based on the english. Look for the string you want to change, and change them.
---
Web-42, a french try...