Condition(s)
fokke - January 27, 2008 - 17:16
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
TRUEif the evaluated code returnsTRUE - Pages
TRUEif the any/all/none of the entered path(s) is/are (like) the current path. - Sites
TRUEif the any/none of the checked multi-site directory(ies) is the current directory. - Domains
TRUEif 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.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.5 | 2008-Apr-17 | 10.92 KB | Download · Release notes | Recommended for 6.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-Jun-08 | 13.71 KB | Download · Release notes | Development snapshot | |
