ThemeKey Properties

mkalkbrenner - July 3, 2009 - 15:37

ThemeKey Properties adds additional properties to ThemeKey module and a debug mode to see current values of properties on each page.

ThemeKey itself provides an infrastructure to switch drupal themes by rules which might use such properties.

Note: ThemeKey Properties 6.x-1.1 requires at least ThemeKey 6.x-1.2beta3.

Additional Properties currently provided by "ThemeKey Properties":

  • drupal:base_path
  • drupal:is_front_page
  • system:query_param
  • system:query_string
  • system:cookie
  • system:server_ip
  • system:server_port
  • system:server_name
  • system:https
  • system:remote_ip
  • system:referer
  • system:user_agent
  • system:user_browser
  • system:user_browser_simplified
  • system:user_os
  • system:user_os_simplified
  • system:date
  • system:time
  • system:date_time
  • system:dummy
  • user:role

Using these additional properties you can achieve things like

  • use an adjusted theme for IE 6
  • use a special theme for Christmas time
  • switch themes for cooperations or brand your site
  • use a special theme for front page
  • ...

See README.txt for details.

Related Projects

Sponsors

Releases

Official releasesDateSizeLinksStatus
6.x-1.12009-Nov-0511.71 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.