SupportArea

BoltWire is a FREE content management system written in PHP.

Its innovative architecture combined with best-in-class forms processing makes it ideal for creating complex, interactive, web applications fast...


Documentation

Markups
Variables
Conditions
Functions
Forms
Commands
Cheatsheet

Documentation

Handbook > Conditions > False

This script always returns false. It can be helpful sometimes with testing complex conditionals.

[if false]Never true[else]Always false[if]

It is also possible to put a function or variable in the conditional that outputs a true or false value. For example, suppose you have the following info values set on the current page.

bob: true
joe: false
sue: true
mary: false

Now consider the following markup:

[if {::{id}}]true[else]false[if]

It will return true if the user is bob or sue, false for everyone else. Obviously, it would make more sense to store the data on member profile pages, or an info page somewhere else.