Betting Sites Not On GamstopBeste Online Casino Zonder CruksBest Non Gamstop SitesNon Gamstop Casinos UKCasinos Not On Gamstop
Free-Conversant Support / Conditional Macro: requestIsReply
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search



Documentation >> Conditionals >> Web Server >> requestIsReply

Conditional Macro: requestIsReply

Operators:

  • no operators

Usage Notes

  • Tests to see if the current request is for a message-reply form (such as http://www.yoursite.com/777/reply).

  • Returns false for anything that is not a browser-based /reply page.

  • While it could be used anywhere, this conditional macro will probbaly be most useful in your message editing template (which is used for creating, editing, and replying to messages).

Examples

This example would show line 1 only on a message's /reply page as described above. Otherwise, it will show line 2.

<!--#if condition="requestIsReply"-->

1. If you see this text, then you must be replying to a message.

<!--#else-->

2. You're not looking at a message's /reply form, so this is the text you see.

<!--#endIf-->

See the above code in action, here:

2. You're not looking at a message's /reply form, so this is the text you see.
View in DG