Announcement

Collapse
No announcement yet.

If condition question

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    If condition question

    If I need to call this code here:
    Code:
    {vb:data posterInfo, user, fetchUserinfo, {vb:raw conversation['userid']}}
    To be able to to use this condition here in any template:
    Code:
    <vb:if condition="$posterInfo['usergroupid'] == 5 OR $posterInfo['usergroupid'] == 6">staffPost</vb:if>
    Then which code should I call in order to use this condition in ANY template:
    Code:
    <vb:if condition="$forum['nodeid'] == 1">somePost</vb:if>
    Thank you very much glennrocksvb.

    #2
    Does anyone have an answer to this?

    Comment


      #3
      I have found a solution to this if condition question, and I am glad I have achieved what I wanted with it.

      Comment


        #4
        Originally posted by zoran_dj View Post
        I have found a solution to this if condition question, and I am glad I have achieved what I wanted with it.
        could you share your solution please?

        Comment

        Working...
        X