Sunteți pe pagina 1din 10

MOODLE 2 THEMES

Richard Jones eLearning Coordinator The Southport School

GOOD NEWS/BAD NEWS

You cannot upgrade a custom theme from 1.x to 2 It must be re-written from scratch

Themes are more powerful Standard themes give more out of the box

(c) 2010 Richard Jones http://moodlenz.net/

ROLLING YOUR OWN

This is going to require html, css and php coding skills. This is going to involve considerable work on understanding the templating system. This template model is not one of the standard php ones like Smarty, Savant, Dwoo etc, etc It is not a trivial task.

(c) 2010 Richard Jones http://moodlenz.net/

BRIEF OVERVIEW - LAYOUTS

Layouts are used to describe page structure, examples:


Layout standard course Purpose Standard layout with blocks, this is recommended for most pages with general information. Main course page. Default layout while browsing a course, typical for modules. The site home page. My dashboard page. My public page. The login page. Pages that appear in pop-up windows - no navigation, no blocks, no header.
(c) 2010 Richard Jones http://moodlenz.net/

incourse
frontpage mydashboard mypublic login popup

LAYOUTS

A layout file is a file that contains the core HTML structure for a layout including the header, footer, content and block regions. For those of you who are familiar with themes in Moodle 1.9 this is simply header.html and footer.html combined.1
<?php echo $OUTPUT->doctype() ?> <html <?php echo $OUTPUT->htmlattributes() ?>> <head> <title><?php echo $PAGE->title ?></title> <?php echo $OUTPUT->standard_head_html() ?> </head> <body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses; ?>"> <?php echo $OUTPUT->standard_top_of_body_html() ?> <table id="page">

1 http://docs.moodle.org/en/Development:Themes_2.0
(c) 2010 Richard Jones http://moodlenz.net/

ROLLING YOUR OWN WORTH IT?

Probably not for many organizations Standard and supplied themes can do a lot

Overriding colours and fonts should still be easy


Adding custom menus can be done in all themes Replacing images in themes is pretty easy too.

(c) 2010 Richard Jones http://moodlenz.net/

3RD PARTY CUSTOMISABLE

A good customizable one is EduMoodle1:


The edumoodle theme has been designed with the purpose of being customised to each organisations requirement. The logo, background, text links, and border colours for the slide show, blocks, and footer HTML can all be managed from the theme settings page You can even add your own custom CSS. This means, thanks to Moodle developers and the guidance given here http://bit.ly/bUUvlF, you no longer require access to your Moodle server to amend the theme. Once the theme has been uploaded practically anything can be achieved.
1 http://vl3.co.uk/EduMoodleThemeDetails.pdf
(c) 2010 Richard Jones http://moodlenz.net/

HTTP://VL3.CO.UK/MOODLE2/

(c) 2010 Richard Jones http://moodlenz.net/

IN ALL THEMES:

(c) 2010 Richard Jones http://moodlenz.net/

MORE MOODLE 2 THEMES TO CHECKOUT

http://lei.jobhunting.co.nz/moodle2/ http://www.newschoollearning.com/moodle2/?&th eme=splash My 2c is: Undecided! Probably grab a customizable theme like edumoodle and play with that. Maybe look at ground-up re-design when I get that round tuit.
(c) 2010 Richard Jones http://moodlenz.net/

S-ar putea să vă placă și