L
O
G
I
N

<-- Back to Tags

{LOGIN(options)}

Provide a Login Prompt with associated menu options once logged in.

Default option of 363 = 1 + 2 + 8 + 32 + 64 + 256 =
Login
Register
or 
Edit Page
Admin etc.
My Account
Logout

The login form specified in the domain setup will be used.

Parameters
Number Name Default Type Description
1 options 363 Integer

Options:

1 - Show Login Prompt (only if user is not logged in)
2 - Show Logout Prompt (only if user is logged in)
4 - Show Username (only if user is logged in)
8 - Show My Account Prompt  (only if user is logged in)
16 - Show Logout with Name (only if user is logged in) e.g. "Not John? Log out"
32 - Show Edit Options (only if user is logged in)
64 - Show Administrator Options (only if user is an administrator)
128 - Menu Mode (render for inclusion in a drop down menu)
256 - Show Registration Prompt (only if user is not logged in)

2 separator Carige Return String Separator to use between links
3 prefix String Prefix
4 suffix String Suffix
5 destination String Destination for the login form when loaded
- class String The Class to be applied to each login option
Log in to add a Comment.