I have a scenario where I need a condition that's not an equality test. How to achieve that?

My workaround was to add a new property called TRUE that always returns TRUE. Then, in my condition, I set the main property to TRUE with value = 1 (to guarantee that this test will pass), then I put the actual condition I need in the additional conditions. It works, but it's ugly. Is there a better way?

Comments

mkalkbrenner’s picture

ThemeKey Properties offers the same workaround. Property system:dummy always returns "dummy".

mkalkbrenner’s picture

Status: Active » Closed (works as designed)
infojunkie’s picture

Sorry I didn't acknowledge your reply earlier. Thanks :-)

mkalkbrenner’s picture

Version: 6.x-1.1 » 6.x-2.0-alpha3
Assigned: Unassigned » mkalkbrenner
Category: support » feature
Status: Closed (works as designed) » Active

This feature will be implemented in ThemeKey 6.x-2.0 branch.

mkalkbrenner’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.