Wikipedia

Search results

Showing posts with label guest. Show all posts
Showing posts with label guest. Show all posts

Show / Hide Content Depending Upon Whether or Not the Viewer is a Member or Guest

Simple Customizable Code Snippet:

{~if !$user.valid~} Hello Guest {~/if~}

{~if $user.valid~} Hello Member {~/if~}
NOTE: Notice the exclamation point before the "$user.valid" in the first statement.