Dynamic Theme

greenSkin - May 27, 2008 - 20:03

Change the theme of a site dynamically.

By setting the dynamic_theme Session variable to an installed theme, the site's theme will be that of the set variable until the variable is unset. This Session variable can be set by setting a link path from 'my/link/path' to 'dynamic/{theme}/my/link/path', with {theme} being the name of the theme you want to use dynamically. If an integer is specified for the 'my/link/path', then it will be considered a node id and the page will be redirected to 'node/{nid}'.

Specify each themes credentials for dynamic theming. If an attempt is made to use a theme without any credentials set, the theme will be used until the dynamic_theme Session variable is unset.

Code sponsored by It Is Written.

Releases

Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-May-289.12 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.