Posted by KazikJ93 on December 12, 2012 at 3:09pm
Hi there!
Maybe someone could tell me is it posible in Drupal 7 to change theme with a sigle link (URL sould show into which theme site appearence should be changed)?
At the worst scenario, is it possible to switch between two active themes using only links?
I will really appriciate any help. :)
Comments
See
See http://drupal.org/project/switchtheme
Arshad Chummun
blog | twitter | app.net
In the README.txt it says: *
In the README.txt it says:
* When Switchtheme module is enabled, users are able to switch to a different
theme any time they follow a link that includes a query string like in this
URL: http://www.example.com/foo/bar?theme=exampletheme
That means, you can implement specially crafted links into your site or themes
which allow users to switch to pre-defined themes. For example, using
Drupal's l() function in page.tpl.php (without code tags):
print l('Red theme', $_GET['q'], array(), 'theme=red');Note: the links don't seem to work past the page they are on in Firefox and IE.
Saving the internet, one file at a time.
If I helped, Pay it forward or give me a cookie ;)