I was trying to apply the garland theme, which isn't my default theme, to webform submissions. To keep a unified look for all the results. But I never got it to work with the latest version of themekey.
I tried applying several different paths to see if I was typing them wrong. And then I went directly to the webform and tried to apply the garland theme there. But it looked like it never saved the theme. Because when I edited the webform, the theme was set back to the default. I am using the latest version of webform 6.x-3.0-beta5.
After that I remembered we had themekey on another test site with webfrom 2.x. I wanted to make sure it wasn't an issue with the 3.0 branch of webform. So I went to our test site, setup the path to a webform and it worked perfectly. I went back to my original site and completely removed and unistalled themekey 6.x-2.0-rc2. Copied the version of themekey I had on the test site to my original. Installed, added a path for node/25/submission/% and it worked fine. Found out the themekey from tst was 6.x-2.0-beta7.
Don't know if rc2 has issues that affect all webforms, because I couldn't test it with a 2.x version. Just a heads up, because I'm not sure what exactly was causing the issue.
Comments
Comment #1
mkalkbrennersee http://www.drupalcenter.de/node/26953
Comment #2
laserlight CreditAttribution: laserlight commentedWell I don't speak German, but I used Google translate to get a basic understanding. So your saying I just need to set the module weight for Themekey to be the lowest of all the modules, correct?
Comment #3
mkalkbrennerMy link to a german forum wasn't fair ;-)
It was ment to be reminder for myself ...
Yes, you have to adjust the weight of the modules. ThemeKey's weight has to be lower than Webform's weight.
Comment #4
mieg CreditAttribution: mieg commentedI actually wasn't using webforms, but changing the weight of the Themekey module did solve Themekey not working for me. Thanks! I actually used the 'util' module to assign a weight of -20 to Themekey.
Comment #5
mkalkbrennerComment #6
hkirsman CreditAttribution: hkirsman commentedDidn't work even if I did
update system set weight = -1000 where name = 'themekey';
Only setting node type = webform override made it work. Drupal:get_q does not work (but it working for other urls).