mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Moodle - the world's open source learning platform
https://moodle.org/
![]() This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F $THEME is now initialised at the same time as $OUTPUT. Old functions like theme_setup are deprecated in favour of methods on $PAGE. There is a new theme_config class in outputlib.php that deals with loading the theme config.php file. CSS used to be served by themes styles.php files calling a function in weblib.php. Now it works by each theme's styles.php file doing $themename = basename(dirname(__FILE__)); require_once(dirname(__FILE__) . '/../../theme/styles.php'); which is less code to be copied into each theme. (Old-style styles.php files still work thanks to some code in deprecatedlib.php.) Admin UI for choosing a theme cleaned up. A couple of theme-specific hard-coded hacks like $THEME->cssconstants and $THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction hook. See examples at the end of outputlib.php Also: * Fix setting the theme in the URL, which seems to have been broken since 1.9. * Fix up errors on a few pages caused by the new initialisation order. * MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE. * httpsrequired() from moodlelib.php moved to $PAGE->https_required(). * Move has_started() method to the renderer base class. * Further fixes to display of early errors. * Remove print_header/footer_old from weblib. I did not mean to commit them before. |
||
---|---|---|
admin | ||
auth | ||
backup | ||
blocks | ||
blog | ||
calendar | ||
course | ||
enrol | ||
error | ||
files | ||
filter | ||
grade | ||
group | ||
install | ||
iplookup | ||
lang | ||
lib | ||
local | ||
login | ||
message | ||
mnet | ||
mod | ||
my | ||
notes | ||
pix | ||
portfolio | ||
question | ||
repository | ||
rss | ||
search | ||
sso | ||
tag | ||
theme | ||
user | ||
userpix | ||
webservice | ||
config-dist.php | ||
COPYING.txt | ||
draftfile.php | ||
file.php | ||
help.php | ||
index.php | ||
install.php | ||
pluginfile.php | ||
README.txt | ||
tags | ||
TRADEMARK.txt | ||
userfile.php | ||
version.php |
README $Id$ ------ QUICK INSTALL ============= For the impatient, here is a basic outline of the installation process, which normally takes me only a few minutes: 1) Move the Moodle files into your web directory. 2) Create a single database for Moodle to store all it's tables in (or choose an existing database). 3) Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle A local copy can also be found in lang/en_utf8/help/install.html (or your language) Good luck and have fun! Martin Dougiamas, Lead Developer