Posts made by Patrick Malley

I'm sure that this is set for 2.0 for the indefinite future. Two thoughts:

1.) It's complex, but it works. I don't know why, but it does. I just need to understand it so I can modify it.

2.) Browser incompatibility is inevitable with the degree of changes that were made. Please make them known by filing bugs in the Tracker. If they are related to a theme, assign them to me. I'll fix them or pass them on to Petr or Sam.

Moodle in English -> Themes -> Moodle 2.0 column width

by Patrick Malley -
I spent the better part of my evening last night trying to create a new Base theme that used percentage column widths instead of fixed pixel widths. I had some success in as far as I achieved three columns all dynamically set to take up a percentage of the screen. However, I couldn't get the content to appear in those columns.

Moodle's new layout is based on this system:

http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm

and this one too (for some reason)

http://matthewjamestaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm

But, it uses an entirely different naming scheme for some reason. I thought that I figured it out, but alas, I'll probably have to try it again.

Why am I sharing this? Two reasons:

1.) Horizontal scrollbars in sidebars should not be a design decision. It's a sign that something is wrong, in my humble opinion.

2.) If someone else can have a go at this, I'd really appreciate it.

3.) At the very least, I'd like to discuss alternative ways of creating more dynamic columns.

Oops. That's three.
Average of ratings: -
This is a bug in the database module, I'm sure. It's not including js.php from header.html like all other pages do. An easy solution is simply to replace the include in header.html with the full contents of js.php. I thought I had fixed this in the download but I'll have to check.