Conditions are sets of requirements (e.g. PHP code, current page or site) that make the condition as a whole TRUE or FALSE. Other modules can provide new requirements or use the Condition API to trigger some kind of action (e.g. display a block or switch the theme to Garland) in case a condition is TRUE.

Included requirements

  • PHP code
    TRUE if the evaluated code returns TRUE
  • Pages
    TRUE if the any/all/none of the entered path(s) is/are (like) the current path.
  • Sites
    TRUE if the any/none of the checked multi-site directory(ies) is the current directory.
  • Domains
    TRUE if the any/none of the entered (sub)domain(s) is/are (like) the current domain.

Modules using Condition(s)

Proposals for further usage

  • Add conditions as an extra option for the the blocks hide/show filter.

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.5 tar.gz (10.92 KB) | zip (13 KB) 2008-Apr-17 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev tar.gz (11.31 KB) | zip (13.08 KB) 2011-Feb-25 Notes

Project Information

  • Module categories: Administration, Utility
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 776 sites currently report using this module. View usage statistics.
  • Last modified: July 21, 2009

Maintainers for Condition(s)

  • tobiassjosten - 2 commits
    last: 2 years ago, first: 2 years ago
  • fokke - 20 commits
    last: 3 years ago, first: 4 years ago

Issues for Condition(s)

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 15 Feb 08
nobody click here