tqExpert Help

Number of Messages Using if

In the following code sample, the if tqOption checks if the number of unread messages is greater than 0.  If so, a link specifying the number of messages is displayed.  If there are no messages, no link is displayed.

Code Sample - if

<tqoption type="if" check="@numUnreadSystemMessages@" operator=">" against="0"
   <a href="mailbox.html">@numUnreadSystemMessages@ System Messages</a>

User Notes

  Add Note

Topic: Number of Messages Using if