- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Moodle开发笔记6-Database操作
Moodle db table的规则:· the first field is aninteger field called idas primary key· table name can be nolonger than 28 characters· Field names can be nolonger than 30 characters· table character set(collation) sho
2010-07-16 12:18:00 3498
原创 Moodle开发笔记5-Course Format开发
<br />Course format是用来定义coursepage的布局和显示。Moodle提供了6个standard course formats:<br />l lams<br />l scorm<br />l social<br />l topics<br />l weeks<br />l weekscss<br />后面3个最常用,These display a course i
2010-07-16 12:16:00 2103
原创 Moodle开发笔记4-Theme开发
通过Theme,你可以修改整个moodle site的外观和风格。一个Theme最起码包含下列东东:l config.php 它设置了theme要用到的css file,以及其他style optionl styles.php 它是standard的,不用动它。l header.html 它是所有moodlepage的开头部分。它实际是一个php filel footer.ht
2010-07-16 12:07:00 3737
原创 Moodle开发笔记3-Filter开发
Moodle filters是对修改来自database的content进行过滤修改后再输出显示。一个例子是moodle自带的multimedia filter,它能够detect references to video and audio files,然后replace them with a"mini-player" embedded in the content。Filter的工作原理Moodle里所有要输出到screen的text都要经过format_textfunction的处理,该函数会
2010-07-16 12:04:00 1936
原创 Moodle开发笔记2-Block开发
Block是以一个长方形区域出现在moodlesite的page的左列或右列。Block是最简单、也是最常用的moodle plugin。下面讲解如何开发一个hello world moodle block “helloworld”1. create “helloworld” folder (目录名来自你的modulename) in ”moodle/blocks” folder2. 在”helloworld”目录下创建blockpage “block_helloworld.php” (命名格式
2010-07-16 12:02:00 4972 1
原创 Moodle开发笔记1-基础知识
There are roughly 200 related tables in Moodle database. “mdl_” is prefix of each table name.Moodle data Moodle data is the file storage location foruser-uploaded content, Moodle data also stores the session data for userslogged into the system, if fil
2010-07-16 11:56:00 8564 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人