Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Custom Corners

From MoodleDocs
Revision as of 12:34, 10 November 2013 by Petr Škoda (škoďák) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.