By chinafka on
I would like to set up my configuration so users can view different Drupal themes as just a demo. Since every theme should be running the same database how do I set it up so when they click on the link they are just viewing the database as another theme automatically?
Comments
=-=
investigate the switchtheme.module
I just looked at that
I just looked at that and it doesn't seem to do what I want. I also looked at the multisite set up and that looks like it will work.
I'm a bit confused though after messing around with how exactly I'm going to get this to work.
I have my main domain www.example.com and off of that site I want users to be able to look at different themes.
I set up the subdomain demo6.example.com with its own database, this is the database I want to share among all the themes.
So now in the sites/ folder I am trying to figure out how to name the following folders to get this right... the final output I would like would be this
www.example.com/demo6/nameoftheme
Thanks
based on your op, VM is
based on your op, VM is correct, http://drupal.org/project/switchtheme is the best way to do this, not multisites (which are not meant to use the same db).
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
In the documentation
Out of the box the module was presenting itself as just being a block allowing users to change themes, it wasn't until I went into the documentation and saw this...
http://www.example.com/foo/bar?theme=exampletheme
That right there is all that I needed, no block, nothing else.
Thanks