<-- Back to Commands (Display)
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.
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. |