Announcement

Collapse
No announcement yet.

Conditional problem

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

  • Conditional problem

    I'm trying to use a conditional to display a desired banner at certain forums, I'm using the following:

    <if condition="in_array($GLOBALS[forumid], array(73,115,114,116,138,223,136,224,225,226,227,228,229,230,231))>

    Banner code

    <else />

    Banner code

    </if>

    But what I get is this:

    The conditional on line 9 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.

    Any idea what I'm missing here?I'll appreciate your help.

    Thanks

  • #2
    Try adding a quote before the right vector.
    Code:
    <if condition="in_array($GLOBALS[forumid], array(73,115,114,116,138,223,136,224,225,226,227,2 28,229,230,231))">
    Lats...

    Comment


    • #3
      Lats,

      Thank you very much, that made the job!

      I appreciate your help.

      Regards,

      Comment

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