[Yanel-dev] Login/Register
Michael Wechner
michael.wechner at wyona.com
Thu Apr 29 07:45:13 CEST 2010
Mehmet Birgi wrote:
>
>
> On Wed, Apr 28, 2010 at 7:50 AM, Michael Wechner
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
> Mehmet Birgi wrote:
>
> Hi
>
> On my current project, we need a way to refer anonymous users
> to a page where they can login or - in case they are not
> registered yet - register.
>
>
> you mean there is a login/register link on the page somewhere?
>
>
> Yes. This appears for example when a user is not logged in and
> requests a page where he/she can only see limited content while
> anonymous. In this case, there is a part in the line of:
>
> "This content
which content? (I assume the user can see part of the page, but does not
know which content he/she does not see, right?)
> is only available to registered users. Please _login_ or _register_."
>
> These links should point to the login/registration pages respectively,
> and after that, take the user back to the previously unavailable page,
> which, if the user is logged in now, would show the content.
I guess we could enhance the login screen by using the referer
>
>
>
>
> Of course, after doing either one of these, they should be
> returned to the original page they were visiting (the redirect
> resource seems to be doing this, but only almost, as I
> couldn't find a way to make the redirect dynamic instead of
> defining it in the res-config).
>
> Afaics, there is no way to do either of these at the moment,
> but maybe I'm overlooking something? If there is no ready
> solution, how would you embark on implementing these features?
>
>
> one way would be to use the referer, but this only works if the
> person first accessed your site, but not via email link or something
> similar.
>
>
> maybe we could implement a check to see if the referer is part of our
> site, and if not, redirect to the start page?
I guess that would make sense
>
>
>
> Or what about an overlay (at least for the login)?
>
>
> how would that work?
>
> also, afaics, there is no specific URL to call the login page, which
> would probably be needed?
create one.
Cheers
Michi
>
> cheers,
>
> memo
>
>
>
>
>
>
> But yes, none of the above exists out-of-the-box yet, but the
> pieces are all there and "just" need to be assembled.
>
> Cheers
>
> Michi
>
>
> Thanks,
>
> Memo
>
>
> --
> Mehmet Birgi
> www.wyona.com <http://www.wyona.com> <http://www.wyona.com>
>
>
> --
> Yanel-development mailing list Yanel-development at wyona.com
> <mailto:Yanel-development at wyona.com>
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
>
>
> --
> Mehmet Birgi
> www.wyona.com <http://www.wyona.com>
>
More information about the Yanel-development
mailing list