Free-Conversant Support / Docs for Conditional Macros
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search



Documentation >> Conditionals

Docs for Conditional Macros

Conditional Macros
      Conditional Macros: An Introduction
An introduction to conditional macros, the basics of what they are and how they're used.
      Conditional Macros 101
Explanation of the three parts of the basic conditional macro: conditional, operator, and value.
      Advanced Features
           Nesting Conditional Macros
Learn how to embed one conditional macro inside the block of text controlled by another.
           Combining Conditional Macros
Complex conditionals allow you to combine multiple conditionals (tests) into a single if/elseif statement, using boolean operators.
           Negate Conditionals
The negation operator ("!") allows you to reverse the result of any conditional statement. Said out loud, it's like putting "not" before the conditional.
           Grouping Conditionals
      cookie
           cookie.[name].exists
           cookie.[name].length
           cookie.[name].toDate
           cookie.[name]
      date
           date.now
      general
           convId
           ioInterface
      Messages
           body
                msg.body
                msg.body.length
           creationDate
                msg.creationdate.day
           Creator
                address
                     msg.creator.address
                     msg.creator.address.length
                msg.creator.isMember
                name
                     msg.creator.name
           customField
           enclosures
                msg.enclosures.length
           msg.isBound
           msg.isTopOfThread
           label
                msg.label.access
                msg.label.id
                msg.label
                msg.label.name
                msg.label.position
           modificationDate
           modifier
           Replies
                msg.replies.length
           Subject
                msg.subject.length
                msg.subject
           Thread
                msg.thread.noMessages
                msg.thread.noMessagesUnread
      users
           userGroupName
           userIsConvAdmin
           userIsMember
           userIsServerAdmin
           userIsZoneAdmin
           username
      Web Server
           requestIsEdit
           requestIsMirror
           requestIsNewThread
           requestIsReply
           requestPageType
           requestPath
           requestReferer
           userAgent
           userAgentIsEmailCollector
           userAgentIsRobot