Yes, PHP is not currently parsed within any course texts (which is good for security).
A limited form of variable substitution might be a good feature for the future though.
Martin Dougiamas
مطالب مطرح شده توسط Martin Dougiamas
Moodle in English -> General help -> Numeric date -> Re: Numeric date
از Martin Dougiamas در
Locales are usually all installed on Redhat, try typing "locale -a" at the command line - do you get a big list of names?
The ability to reformat the dates (by editing strings in the language packs) is a new feature since 1.0.8.1 - you can try a recent nightly version if you really need it.
But I would recommend you try fixing the locale thing first ... even if it's not installed it should be easy to find the right rpm and install it without affecting running application (or reinstalling or in fact even rebooting
)
The ability to reformat the dates (by editing strings in the language packs) is a new feature since 1.0.8.1 - you can try a recent nightly version if you really need it.
But I would recommend you try fixing the locale thing first ... even if it's not installed it should be easy to find the right rpm and install it without affecting running application (or reinstalling or in fact even rebooting
It's still beta, really. No guarantees for compatibility with 1.0.8.1 but you could try copying mod/pgassignment, lang/en/pgassignment.php and lang/en/help/pgassignment out of a recent nightly. Make sure you have backups. 1.0.9 (which will probably include this module as standard) is still a month or so away.
The current nightlies seem quite stable, so you could also upgrade the whole site to the latest nightly and get all the good new features at the same time (everything on that list is in the nightlies). Bug reports and patches most welcome.
The current nightlies seem quite stable, so you could also upgrade the whole site to the latest nightly and get all the good new features at the same time (everything on that list is in the nightlies). Bug reports and patches most welcome.
Have you seen the Peer Graded Assignment module in the latest versions? (You can try it out in the "Demo 103" course on this site if you want).
Also the new "workshop" module: http://moodle.org/mod/choice/view.php?id=286
Both of these are by Ray Kingdon, and have a lot of overlap ... I believe he's thinking about merging them at some point.
(this forum is probably not the best for this topic)
Cheers,
Martin
Also the new "workshop" module: http://moodle.org/mod/choice/view.php?id=286
Both of these are by Ray Kingdon, and have a lot of overlap ... I believe he's thinking about merging them at some point.
(this forum is probably not the best for this topic)
Cheers,
Martin
It's best to always work with the latest CVS version.
Then, when you've finished the new code, do a "cvs diff -c" on the files you've changed, and it will output all the changes as a "patch" file.
If you email that file to me I can test the patch and check it in to the main tree. Beyond that if you have ongoing changes then I can give you write access to the CVS tree (or at least part of it) so you can check in future changes yourself.
Some more details about CVS here: http://moodle.org/doc/?frame=cvs.html
Cheers,
Martin
Then, when you've finished the new code, do a "cvs diff -c" on the files you've changed, and it will output all the changes as a "patch" file.
If you email that file to me I can test the patch and check it in to the main tree. Beyond that if you have ongoing changes then I can give you write access to the CVS tree (or at least part of it) so you can check in future changes yourself.
Some more details about CVS here: http://moodle.org/doc/?frame=cvs.html
Cheers,
Martin