Posts made by Urs Hunkler

Picture of Core developers

Petr, I hope you are well again.

@"experimental theme that is using YUI grids" You surely remember what I wrote about YUI grids - YUI grids are too specific.

And

1.) The "Holy grail ..." offers the 2-1-3 column layout which delivers content first before the side columns. With the way Moodle pages are calculated and rendered in 2.0 it is even more important to send the content before the side columns are calculated and rendered. Does the YUI grid offer this option?

2.) The "Holy grail ..." offers equal hight columns. Based on it I can implement the "lines" and "color" theme in 2.0 which depend on equal hight columns. Does the YUI grid offer equal hight columns?

Another approach

Instead of forcing a layout as the one and only solution there might be a commitment to officially support different layouts - for example the YUI grid based layout and the "Holy grail ..." layout. Pairing the layout.php scripts with the fitting layout.css would make sense and increase flexibility. Fonts, colors, module specific CSS etc. can be placed in other CSS files. You may choose one or the other layout.php/layout.css pair and use the same other CSS files.

Designers could better choose the base layout fitting their design needs. And would not be forced to implement strange named grids.

If this "open" approach might be chosen it doesn't really matter that much, which layout you use for the base theme in Moodle.

Picture of Core developers

Today I saw that you implemented The 'Holy Grail' 3 column Liquid Layout in the base theme for the table-less page structure smile

Is it a test or did you decide to use this marvelous solution with this strange name? If you have not yet decided which way to go with page layouts I want to encourage you to follow this way - I have chosen this solution for my Moodle template work on my lab site after intensive researches. Implementing the solution showed that it works well. And the solution is well documented.

Picture of Core developers
From what I've seen so far the opportunities to work with the page design in Moodle 2.0 look great.

_ Taking Tim's custom_corners renderer example I was able to understand the renderer basics and could make a first step integrating a renderer in a theme.

_ With the Javascript handling we got an official option to integrate other JS frameworks besides YUI smile

Thank you very much to the Moodle developers and specially Tim for all his work implementing the new objet structure in Moodle 2.0 and Petr for working on the theme implementation.

I am looking forward to create marvelous learning environments to support learners and trainers based on Moodle 2.0.

Merry Christmas I wish everybody celebrating Christmas, some nice days to all others. And a successful year 2010 for everybody.