Archive for June, 2008

Moodle Skin++

Thursday, June 19th, 2008

TODO: Summarise Moodle Skin for client. What we did is smart use of Moodle functionality and CSS to improve the useability and navigation a LOT for the Moodle users. Some tricks: defined custom HTML blocks to be used as navigational elements placeholders for pictures or text used resources in (hidden) main block to ...

VI search and replace

Thursday, June 19th, 2008

Search and replace is easy in vi, you just have to know the proper commands: First occurrence on current line: :s/OLD/NEW Globally (all) on current line: :s/OLD/NEW/g Between two lines #,#: ...

Moodle Site transfer

Thursday, June 19th, 2008

copied site for testing purposes; site uses ldap for authentication so set authentication to db in config table. Then, you have to set the auth attribute in user table also to db. Wondering if passwords are saved in database. If not, I have to set them by hand in the ...

Freemind on Debian

Tuesday, June 17th, 2008

Installed Freemind on Debian: added repositories from: Freemind on Debian Linux set java-version to java-1.5.0-sun with update-java-alternatives -s run freemind!

Custom Moodle Theme with CSS

Monday, June 16th, 2008

Created custom theme for client. Hoera, firebug for Firefox 3 is released. NOTES: to center div element, set margin to auto

Custom Report

Monday, June 9th, 2008

Adapted custom report for client. Now our report shows all scorm grades for all courses. Should be adapted to show overview of final grades for each user. 1. Created test environment for client with pg-database: cp -a moodlecodebase moodlecodebasetest cp -a moodledata moodledatatest pg_dump -f output_file.sql dbname pgsql -U moodleuser dbname < output_file.sql edit apache conf ...

Moodle Global Search

Wednesday, June 4th, 2008

Client reported that global search did not index all physical files in Moodle. Checked out the problem and global search indexes physical files linked in the prefix_resource table. If you put your files in directories, references to those directories are included in the resource table but not the contents of ...

Moodle Filename Space replacement

Tuesday, June 3rd, 2008

Moodle replaces apces with underscores on uploaded files. However, if you upload a zip file which contains files / folders with space, and then unzip it from within Moodle, those files will still contain spaces and cause problems when downloading them. To avoid this problem, it is advised not to user ...

Moodle Debugging / Custom Reports

Monday, June 2nd, 2008

Based on client request I added strip_tags($item) to the export functions mod/quiz/report/analysis/report.php . That way, html tags are not shown in the export of to xls, ods and txt. Also I rewrote the group functions for the quickmail module (in contrib). Not so difficult, just make sure to user array_keys() to ...