[pLog-svn] AdminLoginAction

Oscar Renalias oscar at renalias.net
Wed Mar 22 06:47:06 GMT 2006


I am not sure I understand your question, but if all you want is to  
be able to configure where users are sent when they're logged out, I  
was planning to add this to LT 1.1. You can then 'backport' the code  
to 1.0.x if interested.

Oscar

On 21 Mar 2006, at 23:00, soosa soosa wrote:

> Dear All, i think that i do have the same problem as Jesse, but my  
> problem is actually in the opposite direction and its related to  
> the lougout action, for me i don't think that when the user "owner"  
> of the blog logs out of his/her blog to be directed to a blank page  
> with a <div> that contains the username and password that prompts  
> him/her to login again to the administration area, actually if he/ 
> she would like to do that, he/she wouldn't logout from the  
> beginning, i think that directing the result of the logout action  
> to be the summary page is more reasonable than directing it to that  
> the page that i have mentioned above, any way, the problem that am  
> facing is that i can't really find where i can change the direction  
> of the logout action !!!, another thing, when logging in, by  
> default i have configured the system to be directed directly to the  
> dashboard "skip_dashborad = 0" in the "plog_config" table, now my Q  
> is, when i CUT the url generated from the logging action and paste  
> it in again the URL field in my browser, it doesn't preserve the  
> session state to be always directed to the dashboard, instead it  
> takes me to the newPost page or what ever else, which is something  
> that i am trying to change to be session preserved and i also need  
> some help in this matter as well !!
> Any help or suggestions is going to be really helpful and thankful !!!
> Thank you ...
> soosa
>
>
>
> On 3/21/06, Oscar Renalias <oscar at renalias.net> wrote: the value of  
> the "op" parameter of a GET/POST request is used by the
> Controller class (based on the mappings provided in class/controller/
> admincontrollermap.class.php) to determine to which action class the
> request should be dispatched. LifeType uses a single FrontController
> that takes care of all requests, implemented in the Controller class.
> There is some information about this class in the API: http://
> www.lifetype.net/api/d8/d87/class_controller.html. There's a bit more
> on MVC in the wiki, if interested: http://wiki.lifetype.net/index.php/
> Model-View-Controller_in_LifeType
>
> Oscar
>
> On 21 Mar 2006, at 21:18, Jesse Peterson wrote:
>
> > Hello,
> >
> > I've been attempting to modify the login behavior of LifeType and
> > have been going through the source to learn more.  I have one
> > question thus far: how is AdminLoginAction being dispatched to?
> >
> > I see that it is an entry in the Admin action mapping.  The only
> > feasible thing I can find is that somehow the 'Login' name of the
> > submit button on the login page/template is triggering the action -
> > but I'm not seeing any code that triggers actions from submit
> > control names.
> >
> > Any help is appreciated.  Thank you!
> > - Jesse
> >
> >
> > --
> > Jesse Peterson <jesse.peterson at exbiblio.com>
> >
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list