[development] How to Log in a user

Darrel O'Pry dopry at thing.net
Mon Feb 27 16:46:47 UTC 2006


On Mon, 2006-02-27 at 03:40 -0700, stuff at trackingsolutions.ca wrote:
> I tried logintoboggan. It was outputting my drupal set message  to the screen 
> about 15 times in a list. I tried to get it working and then asked myself. 
> "Self would you rather hack logintoboggan or the user.module". I choose the 
> user.module because it only need minor changes.
> 
> On February 27, 2006 03:30 am, Karoly Negyesi wrote:
> > On Mon, 27 Feb 2006 11:10:16 +0100, <stuff at trackingsolutions.ca> wrote:
> > > Is this the right list to ask about hacking a module?
> > >
> > > On February 27, 2006 02:44 am, stuff at trackingsolutions.ca wrote:
> > >> Hello,
> > >>
> > >> I am hacking the user.module to integrate better with my hacked version
> > >> of
> > >> the ecommerce module :).
> > >>
> > >> I would like to automatically redirect the user after creating a new
> > >> account to the next step in the shopping cart.
> >
> > I would suggest using logintoboggan module instead of hacking apart
> > user.module.

You may look at logintoboggan as an example of how to take over the
user_login process, and modify the default behavior of user.module in an
external module just as logintoboggan does without altering the core
distribution... :)



More information about the development mailing list