Closed (fixed)
Project:
ThemeKey
Version:
7.x-2.0-rc1
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Dec 2009 at 17:27 UTC
Updated:
26 Jul 2012 at 20:42 UTC
Solution: ThemeKey UI has to create a rule using path destination as value instead path source
Comments
Comment #1
socialnicheguru commentedCan you give an example or a step by step process for us new to themekey and a little slow at 12AM?
thanks (sorry for the bad humor).
Comment #2
mkalkbrennerExample:
Node 27 has two aliases /foo/bar.html and /another/path.html.
Before ThemeKey 6.x-2.0-beta4 ThemeKey UI's path component stored the theme associated to node/27 no matter ro which alias it was assigned. Now it stores one theme per alias which allows different themes for different aliases.
Comment #4
Wilby1976 commentedI'm trying to assign a theme to a URL alias in version 7.x-1.0, Drupal 7.2 and it doesn't seem to be working. I've set a rule for drupal:path = ESU11, with ESU11 being the alias of the page I want to apply the theme to. (www.mysite.com/ESU11) It works if I remove the alias on the page and apply the same rule to the node/blahblahblah. Is this still a bug or am I doing something wrong? Thanks for your help!
Comment #5
benstallings commentedReopening this issue so the above comment can get some attention. I'm having the same problem. Theme switching works with actual paths but not with aliases. Looks like I'm going to have to manually enter the node IDs of every single page. :-(
Comment #6
mkalkbrennerThemeKey should work well with path aliases. Please post the output of ThemeKey Debug
Comment #7
mkalkbrennerThe issue described in #4 is caused by the uppercase characters in the alias.
This has been fixed by #1030268: Toggle "Property drupal:path is case sensitive" does not work for path aliases
Comment #9
Michael Ware commentedI cannot get a Themekey dialog box to appear in admin/config/search/path or on the edit page of individual nodes under "url alias". I also don't understand how to configure Themekey's Theme Switching Rule Chain, which I thought I could use as alternative way to accomplish the same simple idea: have every page on my site with the path www.example.com/batshit to use my batshit theme. I hope someone can help. Thx.
Comment #10
mkalkbrennersee #1064798: Include at least this image as a guidance for wildcard theme switching