Themes: Crisp

theme_crisp
Maintained by Picture of DualCube TeamDualCube Team, Picture of Arindam GhoshArindam Ghosh
Crisp is designed to provide a more specialized and clean website, it's based on the Crisp Bootstrap Theme.

Crisp 2.5 (Build: 2014082901)

Release notes

/* How to copy and customise this theme.
----------------------------------------*/

This document describes how to copy and customise the Crisp (bootstrapbase) theme so that
you can build on this to create a theme of your own. It assumes you have some
understanding of how themes work within Moodle 2.5, as well as a basic understanding
of HTML and CSS.

Getting started
---------------

From your Moodle theme directory right click on Crisp and then copy and paste back
into your Moodle theme directory. You should now have a folder called Copy of Crisp.
If you right click this folder you are given the option to Rename it. So rename this
folder to your chosen theme name, using only lower case letters, and if needed,
underscores. For the purpose of this tutorial we will call the theme 'cleantheme'.

On opening 'cleantheme' your you will find several files and sub-directories which have
files within them.

These are:

config.php
Where all the theme configurations are made.
(Contains some elements that require renaming).
lib.php
Where all the functions for the themes settings are found.
(Contains some elements that require renaming).
settings.php
Where all the setting for this theme are created.
(Contains some elements that require renaming).
version.php
Where the version number and plugin component information is kept.
(Contains some elements that require renaming).
/lang/
This directory contains all language sub-directories for other languages
if and when you want to add them.
/lang/en/
This sub-directory contains your language files, in this case English.
/lang/en/theme_Crisp.php
This file contains all the language strings for your theme.
(Contains some elements that require renaming as well as the filename itself).
/layout/
This directory contains all the layout files for this theme.
/layout/general.php
Layout file for front page and general pages combined.
/style/
This directory contains all the CSS files for this theme.
/style/custom.css
This is where all the settings CSS is generated.
/pix/
This directory contains a screen shot of this theme as well as a favicon
and any images used in the theme.

Renaming elements
-----------------

The problem when copying a theme is that you need to rename all those instances
where the old theme name occurs, in this case Crisp. So using the above list as
a guide, search through and change all the instances of the theme name
'Crisp' to 'cleantheme'. This includes the filename of the lang/en/theme_Crisp.php.
You need to change this to 'theme_cleantheme.php'.

Installing your theme
---------------------

Once all the changes to the name have been made, you can safely install the theme.
If you are already logged in just refreshing the browser should trigger your Moodle
site to begin the install 'Plugins Check'.

If not then navigate to Administration > Notifications.

Once your theme is successfully installed you can select it and begin to modify
it using the custom settings page found by navigating to...
Administration > Site Administration > Appearance > Themes >>
and then click on (Cleantheme) or whatever you renamed your theme to,
from the list of theme names that appear at this point in the side block.

Customisation using custom theme settings
-----------------------------------------

The settings page for the Crisp theme can be located by navigating to:

Administration > Site Administration > Appearance > Themes > Crisp
Moodle 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

Version information

Version build number
2015081707
Version release name
2.5 (Build: 2014082901)
Maturity
Stable version
MD5 Sum
e2e84bf69a6c722455ab38c856147b91
Supported software
Moodle 2.5, Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4
  • This is the latest release for Moodle 2.5
  • This is the latest release for Moodle 2.6
  • This is the latest release for Moodle 2.7
  • This is the latest release for Moodle 2.8
  • This is the latest release for Moodle 2.9
  • This is the latest release for Moodle 3.0
  • This is the latest release for Moodle 3.1
  • This is the latest release for Moodle 3.2
  • This is the latest release for Moodle 3.3
  • This is the latest release for Moodle 3.4

Version control information

Version control system (VCS)
Other...
VCS repository URL

Default installation instructions for plugins of the type Themes

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (e.g. "ponies") in the "theme" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation