The cern Drupal theme is documented here for reference for developers who wish to customize their Drupal site by creating a subtheme. It is not part of the framework repository.
Read the drupal.org theming guide for an overview of Drupal's theme architecture: http://drupal.org/documentation/theme
The cern theme is part of a family of themes based upon the cern_base theme. If you want to inherit most things from the cern theme but add a few overrides, then you should enable both these themes and create a new subtheme with the cern theme as its parent - use the cern_overwrite theme as a starter pack.
For designs that need to differ more radically from the cern theme you should consider a custom subtheme based directly on cern_base.
- Respect the design guidelines for CERN websites
- Only subthemes should be hosted locally to your site for production environments. By hosting cern_base and cern on your site you effectively opt out of having updates applied to these themes on your site by the Drupal administrators.
For all issues related to Drupal at CERN, refer to the Entice community: http://entice.web.cern.ch/
Note in particular the theming forum: http://entice.web.cern.ch/forums/theming
git clone https://gitlab.cern.ch/web-team/drupal/public/d7/themes/cern.git
git clone https://gitlab.cern.ch/web-team/drupal/public/d7/themes/cern-overwrite.git
Instructions on how to install Git on both MAC and PC can be found here.
Posted by Dan Noyes on 21/06/2012 - 11:20. Last updated 08/10/2018 - 16:27.