David Scotson的帖子

Moodle in English -> Blocks -> RSS Feeds -> Re: RSS Feeds

David Scotson -

You can use the CSS techniques discussed here for icons to add a bullet.

Something like this should work:

.block_rss_client div.link a {
    padding-left: 20px;
    background-repeat: no-repeat;
    background-image: url(bullet.gif);
}

Ideally the list of links should actually be a list of links in the HTML. You could change that instead if you are happy with messing with the PHP.

The following works for me in both 1.5 and 1.6:

.navbar {background-color: red;}

You've got a space between your dot and 'navbar' in your post, if that's present in your CSS too, that could be the problem. Running your CSS through a validator helps to pick up these potential little troubles.

If that's not the case then make sure that you're adding your new CSS after anything else that's setting the color of the navbar, later CSS will overule earlier settings.

I'd also recommend the Web developer extension for Firefox. It can be a great help in examing the structer of web pages and its edit CSS function lets you try things out and see the results live.

Moodle in English -> Lesson -> Lesson and Google -> Re: Lesson and Google

David Scotson -

From looking at the results of this Google search:

inurl:mod/lesson/view.php

I'd suggest that Google can only see the first page of Lesson since to go further into the Lesson it would need to fill in and submit a form.

It's probably possible to get Google to visit the following pages as long as it can find a link directly to them e.g. Google turned up the first page in the following Lesson:

http://cdc.humboldt.edu/otl/mod/lesson/view.php?id=212

If the following URL was submitted to Google (either on a manually written index page, submitted directly to Google in the various ways they support or just by me posting it here) then the spider would be able to add it too, in time:

http://cdc.humboldt.edu/otl/mod/lesson/view.php?id=212&action=navigation&pageid=36

You might want to add a bug asking the Lesson folks to optionally make such an index page available automatically if a) the site is open to google, b) the course is open to guests and c) the person creating the Lesson asks for it. In the meantime submitting a manually created sitemap to Google seems like a quicker way forward.

No problem, and no need to apoligise, CSS is certainly tricky on it's own and themeing Moodle adds a bunch of interesting twists.

Iteresting that you ask about documentation, as a space for this kind of small theme hint already exists:

http://docs.moodle.org/en/Theme_scrapbook

The docs wiki is only new (3 month old or so) but growing quickly and I intend to add this hint, and all the bits I've created for the Kubrick theme (which is basically mostly a collection of little workarounds and ideas) into this area, and help Urs (who has done pretty much all the CSS documentation you can find in the forums and Docs wiki) to pad it out with more even info.

On that note, if you find any areas where the image still shows through or any other problems with CSS documentation, please report bugs/problems to this forum and add suggestions/alternatives/tips to the wiki where appropriate.

(There's an index of Theme related documentation in the wiki here: http://docs.moodle.org/en/Category:Themes)

I filed a bug a while ago because the HTML being produced for the three coumns on the front page was subtly different from all other pages. I can't remember if it's been fixed. It caused this kind of issue.

It's bug 1908. I closed it recently because the main issue (about CSS id's for the columns) has been fixed but maybe the other iconsistencies haven't been changed. I'd need to look at the code to be sure.