Announcement

Collapse
No announcement yet.

Conditional - driving me nuts

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

  • [Forum] Conditional - driving me nuts

    I'm working on my forumhome_forumbit_level1_nopost template, and keep getting the "Invalid Tag Nesting" error. I don't see anything wrong with the code, and the admincp won't let me continue, even after I try to force it by clicking the "continue" button. I'm about at my wit's end.

    Can someone please look at this and tell me if there's an error in my code?


    HTML Code:
    <vb:if condition="$foruminfo['forumid'] == 7"><div class="box1">
    <vb:elseif condition="$foruminfo['forumid'] == 18"><div class="box2">
    <vb:elseif condition="$foruminfo['forumid'] == 1"><div class="box3">
    <vb:else /><div>
    </vb:if>


  • #2
    You'v got to "close" the elseif lines...

    Like:

    Code:
    <vb:elseif condition="$my_variable == 2" />
    Note the "/" before the >.

    Comment


    • #3
      That did the trick. Thank you so much!

      Comment

      Related Topics

      Collapse

      Working...
      X