How would I go about changing the wording in the enrollment key text. I've tried all sorts of ways to include changing it in "lang/en-utf8/moodle.php" and no luck. Any ideas?
I'm using 1.7
Thanks.
How would I go about changing the wording in the enrollment key text. I've tried all sorts of ways to include changing it in "lang/en-utf8/moodle.php" and no luck. Any ideas?
I'm using 1.7
Thanks.
Hi Ron,
Matt
Thanks Matt. I did like you said and tried searching for the text I want to change and It doesn't seem to be there. I'm wondering if I'm in the right file:
Editing /home/nhhed/public_html/lang/en_utf8/moodle.php...
Here's what I'm trying to change:
This course requires an 'enrollment key' - a one-time
password that you should have received from your Teacher
Hi Ron,
Yes, that is the file, and the text is there, on line 529 or there abouts. If you are using wordpad or notepad, the string is about one third way down the file:
$string['enrolmentend'] = 'Enrolment Ends';
$string['enrolmentkey'] = 'Enrolment key';
$string['enrolmentkeyfrom'] = 'This course requires an \'enrolment key\' - a one-time<br />
password that you can get from $a';
$string['enrolmentkeyhint'] = 'That enrolment key was incorrect, please try again<br />
(Here\'s a hint - it starts with \'$a\')';
If you are getting that text on your site, it must be in the moodle.php file. Can you attach a copy of your moodle.php file to a posting?
On the one 'l' or two 'll's front, I think that has been trashed to death, with the concensus being either spelling is acceptable - one is US and the other is English (don't ask me which is which!).
Regards,
Matt
Hi Matt, here's a copy of the moodle.php file I've changed. I did like you said and put it in Notepad, changed the text (added the words "all lower case") in a couple of areas but still no luck. It seems like it may be another file I should be changing. No matter what I do to moodle.php, nothing is happening. I've refreshed, shut down, cleared memory, waited a couple of days and it still isn't happening. I can't wait to find out what the issue is it's probably the simplest thing.
Thanks again for your help.
Ron
(Edited by Helen Foster - cut and pasted changed moodle.php into attached zipped txt file - original submission Tuesday, 28 August 2007, 07:57 PM)Hello Ron,
Curiouser and curiouser! I dropped your moodle.php file into my own installation, and, as you can see from the attached, it is having the desired effect with regards to the enrolment text.
Here are a few suggestions:
Regards,
Matt
Thanks Matt and Helen, I just got it working. The problem was like you said I wasn't changing the right file. I am using Eng (US) and I kept changing the other. So I went into Language Editing and made sure I was editing the right language. Thanks Again. Have a great day!
Ron