Announcement

Collapse
No announcement yet.

Conditional - driving me nuts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    Rebecca217
    Senior Member

  • Rebecca217
    replied
    That did the trick. Thank you so much!

    Leave a comment:

  • BirdOPrey5
    Senior Member

  • BirdOPrey5
    replied
    You'v got to "close" the elseif lines...

    Like:

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

    Leave a comment:

  • Rebecca217
    Senior Member

  • Rebecca217
    started a topic [Forum] Conditional - driving me nuts

    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>

Related Topics

Collapse

Working...
X