Use a Menu Item to open the Login Menu
If you would like to open the login modal from a menu item, add loginmodal
to the extra classes in the menu builder.
Steps
- Create a custom page, add title, content is not necessary and is not used
- Add the custom page to the side menu or tab menu
- Add the
loginmodal
in the extra classes field
Example
Examples to have both a login and logout button in a menu. Tip: You only need one custom page. This example uses a single custom page named "Login/Logout", but the label has been changed to display just "Login" or "Logout" on menu item. They use either "loggedout" or "loggedin" extra classes to hide the menu item based on the login status.