Closed (fixed)
Project:
ThemeKey
Version:
6.x-1.1
Component:
Installation / Configuration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2009 at 15:28 UTC
Updated:
26 Nov 2009 at 16:00 UTC
I am currently using ThemeKey with CiviCRM. By specifying this path:
civicrm/%
All my CiviCRM pages change to the correct theme.. except one, which is this one:
http:///civicrm?reset=1
This link is the "CiviCRM" link that shows up after "Home" in the breadcrumb.
Could you give some advice regarding the correct path pattern to grab this URL as well? I have been trying various patterns but not having much luck.
Thank you,
Robert
Comments
Comment #1
robertjd commentedActually, this seems to be an issue with all URL's that don't have a trailing slash, for example:
http://site.com/events
Is not treated the same as:
http://site.com/events/
Comment #2
petednz commentedRobert - I have re-posted over on civicrm forum - http://forum.civicrm.org/index.php/topic,9338.0.html
Comment #3
petednz commentedFrom Lobo:
can u specificy
civicrm%
will that solve the issue?
lobo
Comment #4
robertjd commentedYes, I have tried civicrm% as well as events%, but neither catch the trailing slash on the URL
Comment #5
robertjd commentedIt turns out that the trick is to use this pattern:
civicrm
without a % afterwards. Doing so will catch any URL that starts with civicrm. This is a strange way of doing things in my opinion. ThemeKey should have a better pattern syntax, and better documentation on those patterns.
Comment #6
mkalkbrennerThemeKey 6.x-1.2beta fixes a lot of bugs related to GET params and url aliases. Additionally it allows to use all(!) properties as conditions for paths and a regex operator. So it should be possible to find more than one rule to achieve what you want.
Comment #7
mkalkbrenner