Closed (fixed)
Project:
ThemeKey
Version:
6.x-1.2-beta4
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Oct 2008 at 14:13 UTC
Updated:
13 Nov 2009 at 11:28 UTC
I can select a different theme with http://foo.bar/news and http://foo.bar/news/newsarticle, just by adding at the path-tab news and news/%
But this puzzles me: how can i set up this kind of pages: http://foo.bar/news?page=1 ??? news% and news?% or news?page=# aren't working. Just using the right type under properties does also not work.
However, news?page=1 is just working ... hmm strange ... how do i use the wildcards?
Can someone help me with this?
Comments
Comment #1
spydmobile commentedIm in the same boat here.
I have a node like so:
http://smapp02/cms/content/ember-map
This uses content/ember-map to switch the theme. Great, but If I use the node, the node changes itself somewhat like so:
http://smapp02/cms/content/ember-map?zoom=5&lat=64.49378&lon=-121.5&layers=B0000TTF
Now ThemeKey doesnt change the theme.
In a wildcard situation, I should have been able to add:
content/ember-map%
to get themekey to switch over regardless of the rest of the URL. or are wildcards in ThemeKey not like a wildcard in drupal?
content/ember-map% <> content/ember-map*
Franco
Comment #2
profix898 commentedYou shouldnt need any additional wildcards in the path for this kind of url parameters at all.
Example: To switch the theme for a simple node (nid=20) you would enter 'node/20' for the path. Theme switches to the selected one. If you now add a parameter to the url, say 'node/20?abc=def' it works the same as before (without any change to the path).
Comment #3
mkalkbrennerOn drupal paths like 'node/20' it works like described at #2. The additional parameters are ignored for theme switching decision.
On aliased path the issue occurs like described in the issue and at #1.
Comment #4
mkalkbrennerwill be fixed in 6.x-1.2beta5
Comment #5
mkalkbrenner