17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1143 Views |
-
Site wide login / logout area

18 September 2008 at 12:37pm
Hi All,
I'm brand new to the CMS and am testing functionality and starting some development with it. So far it seems great. One question though. I want to have a site wide login form at the top right corner of my site. This would turn to "logout" when the user has logged in. What is the best way to accomplish this?
thanks
-
Re: Site wide login / logout area

18 September 2008 at 1:47pm
Use the variable $LoginForm in your template.
This will redirect users to the admin area.
If you need to customize the form further beyond CSS, there is a login form widget which just has the html code that is outputted from $LoginForm (or you could copy it yourself from the output). You can customize that and change the hidden form variable which redirects to the admin page. Can be anything you want.
| 1143 Views | ||
|
Page:
1
|
Go to Top |


