[Solved] Additional php GET query to swap between themes?

i.heart.neat - July 6, 2009 - 09:43

Hello,

I'm working on a website with Flash on the front-end, and drupal for the back-end.
It's unlikely the cleanest way, but I currently have two themes: Garland for the admin, and a custom made theme which outputs xml for anonymous users.
Everything works fine (thanks to this module) up until I try to access the front-end (Flash) while still logged-in as the admin. When I'm logged-in everything gets displayed with the Garland theme, and not the xml "theme" I made.

Is there a way, or a module that would let me add a query at the end of the url, and switch the theme accordingly?
For example: cms/article/1/ -> to the Garland theme, where as cms/article/1/?=f would go to the custom theme?

hope this makes sense.
Thanks in advance.

Solved

There's a module that does this: Switchtheme
I should have searched for a little longer... Sorry for spamming.

 
 

Drupal is a registered trademark of Dries Buytaert.