Announcement

Collapse
No announcement yet.

If user logged in

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

  • borbole
    replied
    Originally posted by Mr.Bennet View Post
    Thanks. Worked fine
    Glad to have been of help

    Leave a comment:


  • Mr.Bennet
    replied
    Thanks. Worked fine

    Leave a comment:


  • borbole
    replied
    Originally posted by Mr.Bennet View Post
    Hey!

    I would like to add two divs. One for "If user logged in" & another "If user not logged in". How to code this?

    Best regards
    What version of vb are you using? If you are using vb4x you can use this conditional, assuming you want to add in in the templates.

    HTML Code:
    <vb:if condition="$show['guest']">
    <!-- code for the guests goes here -->
    <vb:else /> 
    <!-- code for logged in users goes here -->
    </vb:if>
    If you are using vb 3x simply remove the vb part from the conditional codes.

    Leave a comment:


  • Mr.Bennet
    started a topic If user logged in

    If user logged in

    Hey!

    I would like to add two divs. One for "If user logged in" & another "If user not logged in". How to code this?

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