2
正如Moodle的文檔所示,我創建了一個新的Moodle主題。創建Moodle 2主題
在config.php文件中定義了一個佈局,就像這樣:
$THEME->layouts = array(
// Most pages - if we encounter an unknown or a missing page type, this one is used.
'base' => array(
'theme' => 'nop',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post'
),
'standard' => array(
'theme' => 'nop',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post'
)
);
創造它,我選擇了它在Moodle的管理區,並cleand緩存後。在管理主題選擇頁面中,我可以看到這個主題顏色,樣式和新界面,但是,在Moodle的其他區域(每隔一頁),我都看不到它。
有人知道這是爲什麼發生這種奇怪嗎?
謝謝,