Git Product home page Git Product logo

cairntheme's Introduction

-- SUMMARY --

FOOTHEMES ARE GO!

Footheme is a stater sub-theme for Corolla 7.x-2.x and can be easily
modified to use Pixture Reloaded 7.x-2.x or Sky 7.x-2.x, which are all
sub-themes of Adaptivetheme 7.x-2.x.


-- REQUIREMENTS --

Corolla 7.x-2.x is a sub-theme of Adaptivetheme, you must download and install
Adaptivetheme 7.x-2.x first. If you are planning on sub-theming Sky or Pixture Reloaded
you need to install those first, including the base theme:

http://drupal.org/project/adaptivetheme
http://drupal.org/project/corolla
http://drupal.org/project/sky
http://drupal.org/project/pixture_reloaded


-- INSTALLATION --

Install as usual, see http://drupal.org/node/70151 for further information.


-- BUILDING THE SUB-THEME --

Mostly this is all done for you and if you have Corolla 7.x-2.x installed and running you
can just enable this theme and it will work! Hooray!

If you want to subtheme Pixture Reloaded or Sky, or you really want to change the
name from Footheme, then read on.

1. Copy this entire theme and change the name of the folder. Currently the name of the folder
   is "footheme", so you might choose "bartheme". In the next step we will use this name for
   the info file so this is very important because as far as Drupal is concerned the name of the
   info file is the "machine name" of your theme. Don't use spaces or any punctuation other than
   underscores. E.g "bar_theme" is OK, but "bar theme" is not OK.

2. footheme.info - first rename this file to match the folder name you chose in step one. Next you
   can change the "name", "description" and "version" to whatever you want. Then you need to copy and
   paste in some stuff from your base themes info file - the "regions list" and "theme settings list"
   from your chosen base theme. The ones there now are from Corolla so just replace them. If you're
   using Corolla then you can do nothing, or just change the name and description.

3. Color module stuff - using Corolla? No issue, do nothing. If you're using Pixture Reloaded or Sky
   then you need to delete the color folder from this theme and copy/paste in the color folder from
   your chosen base theme.

   Pixture Reloaded uses images as part of the color process - they are all in the /images folder
   in Pixture Reloaded - you should copy and paste that folder in as well.

4. template.php - open up this file and make some changes - search and replace "footheme" for your
   themes name.

   In footheme_preprocess_html() you will find some stuff about responsive stylesheets and IE conditional
   stylesheets - follow those instructions carefully - they are easy and involve renaming some CSS files
   to match your theme name.

   Done? OK, enable your new theme, go to the theme settings form and make sure it all looks normal,
   then save the theme settings at least once. Done - have some fun.


cairntheme's People

Contributors

rdrew avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.