Dynamic Theme
Categories
Component ID
263428
Component name
Dynamic Theme
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1457
Component created
Component changed
Component body
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.
