Results 1 to 8 of 8

Thread: redirected after login

  1. #1
    peppolax is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    56

    Default redirected after login

    Hi,
    after login,
    I wish to be redirected in the Index of the MODULE CONTACT and not in the index of the module home.
    how can I do this?

    Sorry for my english!

  2. #2
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: redirected after login

    You can edit config.php and on the line with:
    'default_module' => 'Home',
    change with
    'default_module' => 'Contacts',
    --
    Mário Pereira Martins

    Javali - Administração e Desenvolvimento de Sistemas Informáticos, Lda.
    Madan Parque Edifício VI Campus da FCT/UNL
    Quinta da Torre 2829-516 Caparica Portugal
    Phone: +351 212949666 Fax: +351 212948313
    http://www.javali.pt

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: redirected after login

    Quote Originally Posted by mapm View Post
    You can edit config.php and on the line with:
    'default_module' => 'Home',
    change with
    'default_module' => 'Contacts',
    Due upgrade safe purpose you should consider adding this code into config_override.php instead.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    peppolax is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    56

    Default Re: redirected after login

    thank you so much.

  5. #5
    rcastro is offline Senior Member
    Join Date
    Dec 2009
    Posts
    41

    Default Re: redirected after login

    You can try with a logic hook, I think there's an action 'after_login'... then in the funcion that the action will call you use the redirect function of Sugar.

  6. #6
    barkamlesh is offline Senior Member
    Join Date
    Oct 2010
    Posts
    20

    Default Re: redirected after login

    Hi endopes

    is it possible to create to different logic hooks and being called on after_login?

    acually i want to update database record after_login in my cugarcrm. ihave loginaudit module having logic hooks that insert record in dtabase as someone logs in and logs out. now i want to do same things in different module with slighlty different in functionality. i have created new module but not after_login it's not calling my logic_hooks.php file?

    if you dind't get my question ask me i will right whole case again..

    thanks and regards
    kamlesh bar

  7. #7
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: redirected after login

    take a look here ofr logick hooks after_login:

    http://www.sugarcrm.com/wiki/index.p...le=Logic_Hooks
    Priscila Kin Yamamoto Joranhezon
    Phone: +55 61 32010000
    priscila.joranhezon@nct.com.br
    NCT Informática Ltda

  8. #8
    barkamlesh is offline Senior Member
    Join Date
    Oct 2010
    Posts
    20

    Default Re: redirected after login

    Quote Originally Posted by kinshibuya View Post
    take a look here ofr logick hooks after_login:

    http://www.sugarcrm.com/wiki/index.p...le=Logic_Hooks
    hi kinshibuya

    thanks for your reply

    after_login can i have logic_hooks calls from two different module having different logic hooks file and ifferent functionality..

    i mean after login it should call different logic hooks from different module????

    thanks and regards
    kamlesh kar

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 2009-12-21, 06:35 AM
  2. Replies: 8
    Last Post: 2009-12-04, 06:30 AM
  3. Replies: 2
    Last Post: 2008-04-21, 12:42 PM
  4. Replies: 2
    Last Post: 2006-03-18, 03:41 PM
  5. Replies: 0
    Last Post: 2005-12-09, 10:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •