ThemeKey

Slug: 
themekey
Versions de Drupal: 
6.x
7.x
D.o - Installation Rank: 
160
D.o - Reported Installs: 
5 063
D.o - Maintenance Status: 
Actively maintained
D.o - Development Status: 
Under active development
D.o - Module Categories: 
Administration, Features Package, Theme Enhancements
D.o - Download 4.7: 
D.o - Download 5.x: 
D.o - Download 6.x: 
6.x-3.2|http://ftp.drupal.org/files/projects/themekey-6.x-3.2.tar.gz|158.54 KB
D.o - Download 7.x: 
7.x-1.0-beta3|http://ftp.drupal.org/files/projects/themekey-7.x-1.0-beta3.tar.gz|175.49 KB
D.o - Original Description: 

ThemeKey allows you to define simple or sophisticated theme-switching rules which allow automatic selection of a theme depending on current path, taxonomy terms, language, node-type, and many, many other properties. It can also be easily extended to support additional properties exposed by other modules. In combination with Drupal's theme inheritance and ThemeKey Properties you can easily achieve features like:

  • individually-styled channels
  • a front-page / "splash" screen
  • a date/time-selected Christmas theme
  • mobile themes for different auto-detected mobile devices
  • special themes for "limited" or "old" browsers
  • content, user, or role -specific themes
  • indicating your environment (production, staging, testing, sandbox, … )
  • testing your redesign safely on a live server
  • ...

Feedback is welcome!

Damn, ThemeKey ... ROCKS! Really appreciate the kick ass work you did on this :) mortendk

I must say, this module is underrated. ThemeKey Properties makes ThemeKey awesome. It's right up there with Rules, Context, and Panels. My mind is blown away at the flexibility. :-) momendo

Current State

Since the Themekey project became unmaintained in April 2009, I (Markus Kalkbrenner) have taken over responsibility for this module (2009-09-21).

Carsten Müller has joined the project as co-maintainer (November 2009).

It's been a long hard fight with the code, the architecture, and the plethora of old bugs in the issue queue ;-)

But after a lot of alpha and beta releases we finally released ThemeKey 6.x-2.0 which was close to a complete rewrite of ThemeKey 6.x-1.x.

Now ThemeKey 6.x-3.0 solves the remaining minor architectural issues of ThemeKey 6.x-1.x which we did not target in 6.x-2.x. Additionally, it should play well with internal and external page caches, like Boost or Varnish, even for anonymous users.

Christian Spitzlay has joined the project as co-maintainer (October 2010).

The port to Drupal 7 has been started and is currently a work in progress.

Documentation

After installing ThemeKey, you'll have access to a lot of documentation using Drupal's built-in help system at /admin/help/themekey. You will find descriptions of all ThemeKey properties, some examples, and tutorials. The tutorials are also available at
http://kalki.de/en/howto/themekey-tutorials.html
Just click the "Tutorials" link to open the collapsed overview.

TO-DO

  • Add more properties to choose from (see ThemeKey Properties)
  • Documentation (for users and developers).
  • Start working on a ThemeKey 7.x branch (work in progress)

Related Projects

  • ThemeKey Properties offers additional properties you can choose from and a debug mode for properties (The debug mode was moved to ThemeKey; in Drupal 7 the rest of the ThemeKey Properties functionality will be merged into ThemeKey)
  • Taxonomy Theme offers a user interface to trigger selection of different themes based on taxonomy and uses ThemeKey as its back end

Sponsors

Different Resources

Souscrire à DrupalFrance.com RSS