David Scotson hozzászólásai

Moodle in English -> Themes -> CSS Blocks

David Scotson írta időpontban

I had a go at rewriting the Blocks code without using tables for layout. I'm quite pleased with the results and would like to get it into 1.5 if possible. To that end I would appreciate folks giving it a try and reporting any problems/suggestions.

I've attached a zip file with a replacement for the current blocks directory (remember to back up the old one) with an updated superclass for the block infrastructure and a few of the individual blocks have been subtly rewritten too, in order to minimise unneccassary tables.

Értékelések átlaga:Useful (1)

Moodle in English -> General developer forum -> "can't modify header" error in CVS head

David Scotson írta időpontban

I'm seeing an intermittent "can't modify header" error in recent CVS code, possibly caused by the Login block (hence appearing and disappearing based on login status). Blocks is an area where I've been mucking around recently and I'm wondering if I've broken something or if everyone sees this.

Értékelések átlaga: -

Moodle in English -> General help -> Links are transparent? -> Re: Links are transparent?

David Scotson írta időpontban

lines 12 and 17 of this file:

/theme/cordoroyblue/styles.php

One is for links you haven't clicked yet, and the other is for links you've already visited.

The problem is that this will change every single link in your site, so you may need to experiment to find the right shade that will show up everywhere (adding a background-color might help distinguish the links from the background, but it can also be ugly if not done subtly).

THe firefox extension I linked to allows you to tweak the CSS interactively to find the best colours before you actually edit the file on your server.

Moodle in English -> General help -> Links are transparent? -> Re: Links are transparent?

David Scotson írta időpontban

I don't think your links are transparent e.g. the links at the bottom of your main page:

You are logged in as *Guest User* (*Login*)

They are visible, they are just very difficult to see because the colour (#41472B) is almost indistinguishable from the background image.

Also, you have an extra dot here:

..sideblocklinks {
    background-color: transparent;
}

which is stopping that style rule from taking effect.

If you're fiddling around with this kind of stuff you may find the firefox browser and it's Web Developer extension invaluable: