Note that this will be replaced by a hook in future: A login isn't a business event, so having a trigger here is not a good development. Trigger are dedicated to businness event into a transactionnal context.
Le 25/01/2013 10:35, Florian Henry a écrit : > Hi, > > Thank for this answer. Simple solution is the better. I didn't > think to it.... > > I do it with the trigger USER_LOGIN, because the first pages > depend on Usergroup of the new connected users. > > Kind regards. > > Florian HENRY > [email protected] > +33 6 03 76 48 07 > http://www.open-concept.pro > > Le 25/01/2013 10:05, Laurent Destailleur (eldy) a écrit : >> I don't remember any option tha can do that. >> The best method is using the url of third party as login page. >> >> Le 24/01/2013 00:06, Florian Henry a écrit : >>> Hello, >>> >>> I remember to read somewhere in the code a "hidden" dolibarr constant, >>> or a Dolibarr settings to defaulted the first page after login (for >>> exemple go to thirdparty page after login by default), but I cant' >>> find it anymore. Did I dream it ? >>> >>> I found hook afterlogin or trigger USER_LOGIN, but as I remember >>> somthing that do it, I ask to the community if it exists. >>> >>> Kind regards >>> >>> ------------------------------------------------------------------ >>> >>> Bonjour a tous, >>> >>> J'ai le souvenir (peut être en rêve) d'avoir vue dans la conf ou une >>> variable MAIN_... qui permet de définir la page d’accueil par défaut. >>> Par exemple pour arrivé sur l'écran tiers par défaut et non sur la >>> home Accueil après la connexion. >>> >>> J'ai bien vue les hook afterlogin ou le tigger USER_LOGIN, mais si ça >>> existe en standard, je le préfère a une customization via un module. >>> >>> Ca vous parle ? >>> >>> Cdt. >>> >> > -- Eldy (Laurent Destailleur). EMail: [email protected] Web: http://www.destailleur.fr Dolibarr (Project leader): http://www.dolibarr.org To make a donation for Dolibarr project via Paypal: [email protected] AWStats (Author) : http://awstats.sourceforge.net To make a donation for AWStats project via Paypal: [email protected] AWBot (Author) : http://awbot.sourceforge.net CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net _______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
