Wikipedia

Search results

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.

No comments: