L
O
G
I
N
_
L
I
N
K

<-- Back to Tags

{LOGIN_LINK(text, form_object_id)}

Adds a login prompt to the page if the user is not logged in.

It will then switch to a normal page link if the user is logged in.

It has the added effect of redirecting the user to the specified page once they have logged in.

Parameters
Number Name Default Type Description
1 text Login String The text to display in the link
2 page_id 0 Integer The ID of the page to jump to once the user is logged in.
- class String The class to apply to the link
- style String Any style you want to add to the link
- destination String

The ID of the container you want to place the Login Form in.
If left empty, it will open a dialog box.

Log in to add a Comment.