Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: 1.6 theme upgrade.

1.6 theme upgrade

From MoodleDocs
Revision as of 15:23, 13 March 2006 by Nick Freear (talk | contribs) (Link to 'Resizable Icons' section)


Moodle1.6


Which areas in Moodle have changed?

The semantic structure of Moodle pages

For better orientation of non visual Moodle users it is important to build a semantic structure for all Moodle pages. The skeleton are the headers h1 to h3. Details follow...

The header

For the semantic structure of the Moodle pages the "headermain" area is no longer built with a div but with a "h1" element. (See header.html)

The footer

A link to the relevant Moodle Docs page is added. (See footer.html)

The "breadcrumb"

For better accessibility and more flexible visual design, the xhtml structure of the navbar (called the breadcrumb trail) has been changed to an unordered list.

The » character has been converted to an image with empty 'Alt' text (pix/a/r_breadcrumb.gif) - see #Resizable Icons.

The sideblocks

Documentation about the changes to follow...

The questions

Documentation about the changes to follow... (--Urs Hunkler)

The Image borders

Previously Moodle added a 1 pixel wide black border to all user images, since 1.6 this is not done. If you wish to retain such a black border (or a green, red or blue border) you can add it via css. Old user images will retain their black border if you are upgrading from a previous version but there is a script (userpix/upgrade.php) that can be run by an admin to process all images and remove the border.

What is new in the Moodle 1.6 standard theme?

The following pages give you an overview of the changes in the header, footer and the CSS files from the actual 1.5.x to 1.6. When you open the linked pages you will see all changes made in that file.

You can add these changes to your theme header, footer and CSS files to update them for Moodle 1.6.

These html pages show only those parts of the files which are different, not the whole file. The line numbers of the 1.5 and 1.6 files will help you locate the areas. If you need to apply the changes to completely different files, you may search for the old (1.5) property in your files and replace it with the new/changed one.

I will update these files with any changes regularly (every day when possible) until Moodle 1.6 is released.

--Urs Hunkler 03:49, 13 March 2006 (WST)

See also