How to Prevent Overwrite

How to Prevent Overwrite

by Thomas Bray -
Number of replies: 1
Hi All:

I've been brave enough to start a bit of hacking, style things really. For example, I've change some string terms in the moodle.php to match my site, so instead of SITE NEWS it will read MY BUSINESS NAME NEWS; stuff like that. How do I prevent all this tinkering from being overwritten update time?

Thanks!
Average of ratings: -
In reply to Thomas Bray

Re: How to Prevent Overwrite

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
In that particular case I'm thinking of making the heading there be the same as the name of the news forum itself (obvious really) so that all you'll need to do in 1.0.8 is edit the forum itself.

But, to answer your question, you should create a copy of a whole existing language directory (ie en or en_us) to your own new "language" (eg en_tb) which you set as the default site language (and the admin user's language), then edit away happily using the web interface.