Modules and plugins

RSS
Página: ()   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18 ...576   ()

Block: Accessibility Options

screenshot
Type: Block
Requires: Moodle 1.8
Status: Third-Party
Maintainer(s):

We needed to find a way for our students to change the font size and background colour of our Moodle site. Here’s how we achieved it. We haven’t thought of an easier way to install this block or how to copy it across all pages of the site yet I’m affraid. I’ll post here again when we get there though. Hope this helps you out:

Step 1

You’ll need to get access to your Moodle server and add the following line to your config.php in the root of your Moodle install:

$CFG->allowthemechangeonurl = true;

Here’s a good link with more information about Moodle Theme Settings: http://docs.moodle.org/en/Theme_settings

Step 2

You’ll need to know which theme you’re using. If you’re unsure, you can find it from by logging into to Moodle as an admin and going to:

Moodle > Administration > Appearance > Themes > Theme Selector

Once you know your theme name, from your Moodle Server, navigate to:

Moodle Main Directory\theme

You’ll see a list of Moodle Themes, something like this:

You’ll need to find your theme in the list.

What you’ll need to do is produce a number of copies of your theme folder and adapt the css and html of each one to produce a range of different themes with varying font sizes and background colours.

It might be worth looking at our Accessibility Options block to see examples of the range of themes you might need:

http://citybit2.southampton-city.ac.uk

The time-consuming part of all of this is copying and pasting the theme folders, renaming them meaningful names (yellow_mediumfont for example), then tweaking the css and html in each file to the changes you need. It is worth it in the long-run though – promise sonrisa

Step 3

Once you have a range of new themes based on your original theme you can put your accessibility options block together.

Just create a HTML block on the front-page of your Moodle site. We went for a table filled with icons which represented the different themes, which have hyperlinks attached. In Step 1 we added a line to the Moodle config file, which let users change the theme by clicking a hyperlink. The format you need for your links is:

http://moodlewebaddress/moodlefolder/index.php?id=1&theme=yellow_mediumfont

You’ll just need to change the yellow_mediumfont to the different names of your new themes. We also added a reset button at the bottom of the block, which just has a link back to the default theme.

The theme choice will stay until the user closes down the web window.

I hope this makes sense. The instructions are a bit scrappy, but feel free to drop me a line if you’ve got any questions. We hope this will be really helpful for our students who have trouble reading websites.

If anyone has any suggestions about how we could improve this, we’d welcome your ideas.

Cheers,

Mike


Record added by Mike Wilson - miércoles, 21 de noviembre de 2007, 00:28
Last modified - miércoles, 21 de noviembre de 2007, 00:40
Imagen de William Lu
por William Lu - martes, 11 de diciembre de 2007, 10:57
 


Fantastic, this is what I've been looking for.
Clear and easy explanation.
Thank you very much.

Imagen de Janette Dimitrova
por Janette Dimitrova - jueves, 10 de abril de 2008, 22:23
 

Are you planning to update for 1.9 Version?

Imagen de Mike Wilson
por Mike Wilson - miércoles, 4 de junio de 2008, 16:29
 

Yep, I'm planning to redesign this block into a handy theme for moodle. Instead of having to adapt 15 themes and tinker about, the theme will utilise CSS to achieve the background colour and text size changes.

Just gotta get better at CSS first... oh and find some time, bring on the summer ;)

me
por Samantha Bailey - miércoles, 8 de abril de 2009, 16:18
 

has there been any updates to this yet, you know been added as a proper block or anything?

i am struggling to know what code to put into the HTML block, so any help will be highly appreciated

kind regards

Sam

Imagen de Mike Wilson
por Mike Wilson - miércoles, 8 de abril de 2009, 17:51
 

Hi Sam,

Here's a link to the files we used on our Moodle. The link takes you to two files:

http://212.219.11.122/accessibility_block/

A zip files containing the themes I adapted and linked to the block

A .htm file which contains the html which you can paste into a html block on your moodle

Don't forget you'll need to change the contents of both files to point to your moodle.

You'll see some addresses in the files that point to:

172.16.0.75/some address

212.219.11.122/some address

This is our live and test server. Changes these values to reflect your set-up.

Might be worth trying this on a test server before you put it on your live Moodle.

Hope this helps,

Mike

un mio disegno
por angela pierri - miércoles, 2 de septiembre de 2009, 18:38
 


Hi mike , great work

I also posted a theme (is not visible Yet) for dyslexyc people

From: Loughborough University Leicestershire + angela pierri

Requires: Moodle 1.8.x

In header html You must correct the theme link like:

http://www.sitename/moodlename/theme/1410provatema

---------------------------

i think it will be useful to integrate the two pieces of work ( in my bar students cannot change the font color)

If someone is interested in trying it or working on it....


pardon my english


Página: ()   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18 ...576   ()