Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Custom Corners: Difference between revisions

From MoodleDocs
Created page with "Custom corners is new theme for moodle 1.9 by Urs Hunkler of [http://moodle.unodo.de Unodo] ==Making a theme based on custom corners== To use custom corners as the parent of you..."
 
No edit summary
 
Line 1: Line 1:
Custom corners is new theme for moodle 1.9 by Urs Hunkler of [http://moodle.unodo.de Unodo]
{{obsolete}}Custom corners is new theme for moodle 1.9 by Urs Hunkler of [http://moodle.unodo.de Unodo]


==Making a theme based on custom corners==
==Making a theme based on custom corners==

Latest revision as of 12:34, 10 November 2013

Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable.

Custom corners is new theme for moodle 1.9 by Urs Hunkler of Unodo

Making a theme based on custom corners

To use custom corners as the parent of your theme (so you only specify changes from it instead of building your own from scratch) follow these instructions:

  1. Make a copy of the custom-corners directory and rename it to something else
  2. open the "user_styles.css" file, delete everything and save it.
  3. open "config.php" and set the following:
    1. $THEME->sheets = array('user_styles');
    2. $THEME->standardsheets = array('styles_layout');
    3. $THEME->parent = 'custom_corners';
    4. $THEME->parentsheets = array('user_styles');
  4. save "config.php"
  5. edit your profile within moodle to use the new theme
  6. You should see no difference, but can make CSS additions to "user_styles.css" which will appear when you refresh the page.