是的,您应该手动制作它们,它不像Wordpress等其他CMS那么简单.
首先,你必须创建一些包含Moodle web page常见部分的php文件.
例如,创建一个名为about.php的文件并将其放在Moodle安装的根目录中(php代码取自上面引用的教程并略微调整):
require_once('config.php');
$PAGE->set_context(get_system_context());
$PAGE->set_pagelayout('standard');
$PAGE->set_title("About page");
$PAGE->set_heading("About");
$PAGE->set_url($CFG->wwwroot . '/about.php');
echo $OUTPUT->header();
// Actual content goes here
echo "Hello World";
echo $OUTPUT->footer();
?>
如果您在http://moodle-example.org上有Moodle,那么您的页面将位于http://moodle-example.org/about.php.
如果您愿意,可以创建插入新创建页面路径的custom menu.
转到网站管理»外观»主题»主题设置.在自定义菜单项字段上,插入:
About us|http://moodle-example.org/about.php
保存,您将看到一个菜单,其中包含指向新创建页面的链接.