Posts made by David Scotson

:hover only works on a tags in IE. There are two workarounds:

  • make the a link tag within the li display: block and width:100%. Now you can put the :hover on the link, but the link will take up all the space available and be the same size as the li. (You can read about the accessibility and usability benefits of this approach if you want, which also explains why your current rollover effect is a bit misleading.)

  • if the above doesn't apply (e.g. if there is no a tag) you can use javascript to rewrite the :hover into a combination of CSS/Javascript that Internet Explorer understands. See here for details, but bear in mind, that for this particular usage, and basically any with clickable links, the previous technique is better.

Moodle in English -> Themes -> Kubrick adjustments -> Re: Kubrick adjustments

by David Scotson -
Ah, good point! There seems to be some popular demand for 2 columns layouts, so it might be worthwile adding support in the actual Moodle PHP code, with an admin setting. That could make it work for left or right and iron out a few of the minor problems of using 2 column themes.

I'll have a look after 1.6 is out, maybe aiming for inclusion with 1.7 if people like it.

Moodle in English -> Themes -> Kubrick adjustments -> Re: Kubrick adjustments

by David Scotson -
If you're using the last public release of Kubrick from http://moodle.org/mod/forum/discuss.php?d=32891#152846, then there should be a CSS file called `2col.css` that looks like this:


#course-view #left-column,
#site-index #left-column {
display: none;
}

#site-index.editing #left-column,
#course-view.editing #left-column {
display: block;
width: auto!important; /*to overwrite hardcoded value in HTML*/
}

/* hide move sideblock left controls */
a.left {
display: none;
}


Change the `#left-column` names to `#right-column` and `a.left` to `a.right`. That should get you most of the way there, the only remaining problem is to put another 'turn editing on' button somewhere as I think it'll disappear along with the right hand column.

Okay, figured it out.

When I unzipped the backup, a containing folder was magically created for me, when I rezipped this folder was included within the zip file. This meant that when Moodle unzipped it for restoring it was looking in the wrong place for the moodle.xml file.

I think that's what's happening anyway. I will file a bug as this should probably be catered for and not finding the file at all should probably give a different error from finding a file that doesn't suit the expected naming and structure.