Announcement

Collapse
No announcement yet.

How do I negate if-statements?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I negate if-statements?

    Let's say I have the following:
    Code:
    <if condition="$showthreadslist">
    How do I negate the condition? Just add "not" maybe?
    Code:
    <if not condition="$showthreadslist">

  • #2
    Try:
    Code:
     <if condition="!$showthreadslist">
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X