I tried this in a node body:

[condition installed block]
This part should display if Block is enabled.
[/condition]

It did not work as I expected -- I think the condition is not evaluating to TRUE even though I do have the Block module installed.

This condition worked:

[condition installed block >= 7.0]
This part should display if Block is enabled.
[/condition]

I would like the "installed" conditions to work even if the operator and version number are not included.

Comments

tamasd’s picture

Assigned: Unassigned » tamasd
Category: bug » feature
Status: Active » Needs review

Feature implemented in 778b0e18fdeae689a65b485fce8747a721a01429.

jhodgdon’s picture

Thanks! I'll check this out next time I take a look at the module.

jhodgdon’s picture

Status: Needs review » Needs work

This is still not working for me, although I have updated to the latest code on the master branch.

jhodgdon’s picture

Status: Needs work » Fixed

This is now working correctly.

Status: Fixed » Closed (fixed)

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