Free-Conversant Support / Message Conditional Macro: msg.isTopOfThread
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search



Documentation >> Conditionals >> Messages >> msg.isTopOfThread

Message Conditional Macro: msg.isTopOfThread

Operators:

  • no operators

Usage Notes

  • Tests the inReplyTo field of the current message. If the message is not a response to another message, then it is the top of the thread and the macro returns true. If the current message is responding to another message, then the macro returns false.

  • This is a unary macro, meaning it uses no operators.

Examples

In this example, the second line will be seen because the message used to create this page is a response to another message.

<!--#if condition="msg.isTopOfThread"-->

1. This message is the top of a thread.

<!--#else-->

2. This message is in response to another message.

<!--#endIf-->

See the above code in action, here:

2. This message is in response to another message.
View in DG