I want to change the text field under the "choose.." to a drop down. I’m under the impression that I need to make this change in the Availability folder in moodle?
I want to change the text field under the "choose.." to a drop down. I’m under the impression that I need to make this change in the Availability folder in moodle?
2
Answers
Please go to your Moodle folder > open lang folder > open en(if you are using any other language open that folder) folder > open moodle.php in any editor > search for "choosedots" and change the text as per your choice.
Here is the line
To find the string
First go to Site admin > Development > Debugging
And switch on "Show origin of languages strings" (debugstringids)
And save changes
Then go to the assignment and add
?strings=1
or&strings=1
to the urlThis will display the string id and component of every string
eg:
So the string id is
choosedots
and the component ismoodle
To change the text of the string, it is advisable to do this through language customisation rather than development.
Go to Site admin > Language > Language customisation > [Choose language] > Open language for customisation
Then search for Component =
Moodle.php
and String identifier =choosedots
You can then change the text – this is a core Moodle string though, so beware that this will change the string everywhere not just in the assignment activity