Saturday, 21 January 2012

Changing the text of modules e.g. mod_login

The standard text for the login module is specified in C:\xampp\htdocs\myproject\language\en-GB\en-GB.mod_login.ini

I didn't have enough room for all the text in my design, so I decided to shorten the information:

from:

FORGOT_YOUR_PASSWORD=Forgot your password?
FORGOT_YOUR_USERNAME=Forgot your username?

to:

FORGOT_YOUR_PASSWORD=Forgot password?
FORGOT_YOUR_USERNAME=Forgot username?

It's only a little change but it made a difference to my design where space was tight. But more importantly it opens up the possibilities to change lots of core module functionality. If you've gone to the trouble of creating a html folder to modify content... use it!

No comments:

Post a Comment