Results 1 to 3 of 3

Thread: Redirect user after login?

  1. #1
    WEB11 is offline Senior Member
    Join Date
    Mar 2009
    Location
    Washington, DC
    Posts
    30

    Default Redirect user after login?

    Hello everyone.

    I just installed sugar and love it so far. I was wondering if there is a way I can add a line of code somewhere to redirect my users to a different page other than home on login. I was thinking of the calendar weekly view.

    Thanks

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Redirect user after login?

    Look at the default_module setting in config.php and set it to Calendar.

    Sugar promised me that configuring the default calendar view will be possible in the future.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    WEB11 is offline Senior Member
    Join Date
    Mar 2009
    Location
    Washington, DC
    Posts
    30

    Default Re: Redirect user after login?

    That is nice but I still won't achieve what I want that way.
    Does anyone know if there is a way to use a little hack to do it? like a redirect line somewhere?

    I was thinking of a hook that uses "after_login" like explained here

    This would be the destination:

    index.php?module=Calendar&action=index&view=week

    I have no idea on how to implement that tho
    Last edited by WEB11; 2009-03-21 at 05:39 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. new user cannot login
    By ivgizar in forum Help
    Replies: 3
    Last Post: 2009-02-17, 04:07 AM
  2. Redirect User after logout?
    By macscr in forum General Discussion
    Replies: 3
    Last Post: 2008-09-08, 06:13 PM
  3. Replies: 0
    Last Post: 2005-12-09, 10:29 PM
  4. Redirect after Login
    By v1jets in forum Help
    Replies: 0
    Last Post: 2005-07-19, 03:02 PM
  5. 3.0 bug in email hyperlink->login->page redirect
    By aardvarkads in forum Developer Help
    Replies: 0
    Last Post: 2005-07-13, 12:02 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
  •