Closed (won't fix)
Project:
ThemeKey
Version:
6.x-2.0-rc2
Component:
User Interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2010 at 20:09 UTC
Updated:
20 Nov 2013 at 12:20 UTC
Jump to comment: Most recent
Comments
Comment #1
mkalkbrennerIt's not possible to enter multiple tids for property taxonomy:tid. You need to setup many rules.
But have a look at the ThemeKey add on Taxonomy Theme. Maybe it fits your needs.
Comment #2
klonosok... here's a feature request then ;)
For example, if term id is chosen as a property, then possible values could be:
1,2,3comma used as an OR, meaning any of the values.1-4dash used as a from-to, meaning all values in between as well.1+4plus used as an AND, meaning the node needs to be tagged with both term ids (makes sense with tids that are actually numbers - haven't thought if it does for other properties as well)Of course mix-n-matches would be allowed:
1,2,3,8-12meaning 'node may be tagged with 1 OR 2 OR 3 OR any tid from 8 to 12'1+8-12meaning 'node must be tagged with 1 AND any tid from 8 to 12'Also changed issue title.
I already knew about taxonomy_theme, but in the project's page it says:
So I thought that themekey was some sort of 'one ring to rule them all'.
Comment #3
mkalkbrennerI changed the project description of taxonomy theme.
1+8 could be achieved by nesting ThemeKey rules.
I'll think about you request ...
Comment #4
klonosThan you, I know it can be achieved by using nested rules, but the point is to make it easier to maintain rules...
Today I had a really bad experience trying to delete a dozen rules, so I created #766592: Support bulk delete of rules in the Theme Switching Rule Chain. Most of these rules could have been omitted if what I propose here was supported. I could then have simply edited one rule instead of deleting + confirming deletion of a dozen of them. I am not saying it should replace the old way of using nested rules where possible. I am simply requesting this as an extra way so that advanced users can avoid adding extra rules by using this regex-kinda way.
I am simply laying an idea down on the table here. What I propose is not perfect (the
1+8-12for example is really ugly and could be1+(8-12)or something). We should first wait for other people to provide some input before trying to implement anything.As I said, thanx in advance for considering this one.
Comment #5
mkalkbrennerComment #6
mkalkbrennerDue to the fact that nobody has time to implement this nice to have feature I close to issue to clean up the queue.
Fell free to re-open it if you can provide a patch or order a maintainer to work on it.
Comment #7
mkalkbrenner