Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
|
Page:
1
|
Go to End | |
| Author | Topic: create a login as silvertripe | 801 Views |
-
create a login as silvertripe

20 May 2009 at 4:48am Last edited: 20 May 2009 4:52am
hi, everybody
I have to create a login as silverstripe for my page.
I can not get the login in the header, and then the logout.
attached imagesalready did in the admin groups and users so they can sign up and only see a few pages.
(sorry my bad english)I can not do that is dynamic login-logout
I hope some help -
Re: create a login as silvertripe

20 May 2009 at 4:34pm
Sorry what was the question? SS handles all the logging in / out. To login you just point a link to Security/login/ and to log out you have a link to Security/logout/
-
Re: create a login as silvertripe

30 May 2009 at 2:06am
Do not worry, we already found a solution:
<% if CurrentMember %>
<font color="#005fb9">$CurrentMember.FirstName</font> -
<a href="/Security/logout">Logout</a>
<% else %>
<a href="/Security/login">Login</a>
<% end_if %>had no idea of the class: CurrentMember
thanks anyway
| 801 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Cristian, Achilles Interactive
Welcome to our latest member: J2-Paul

