Join Now

Click here to join our
growing community:

JOIN LOGIN



Docs

Welcome Tour
Handbook
      Markups
      Variables
      Conditions
      Functions
      Forms
      Commands
      Concepts
Extensions
Pro Modules
Developers



Copyright © 2020
Terms of Use
Privacy Policy
BoltWire

Handbook

Editor

This conditional determines whether the current user has editor permissions. Or, you can supply a user ID and check if that user is an editor. It is a shortcut for [if ingroup editor]

Examples:

[if editor]You are an editor[if]
[if editor bob]Bob is an editor[if]

Editors are defined on page group.editor and have special built in permissions within BoltWire. Be careful about giving editor permissions to users.

To generate a list all editors on a site, you could use this markup:

[(search group=member* if='editor {+p2}' fmt='[[~{+p2}|+]]')]

Of course a more efficient approach might be to do this:

[(list page=group.editor fmt='[[~{+p}|+]]')]