Results 1 to 4 of 4

Thread: Set the login module

  1. #1
    lieutdan13 is offline Junior Member
    Join Date
    Jul 2008
    Posts
    4

    Default Set the login module

    When I login to Sugar, I want the default module to be Calendar and not Home. I have tried changing SugarApplication->default_module and SugarController->module from Home to Calendar with no avail.

    Thanks in advance.
    Dan

  2. #2
    mike2009 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    25

    Default Re: Set the login module

    Hello,

    maybe the location you changed the setting is reserved for PRO or else.

    My experience was:

    go to /modules/Users/Authenticate.php

    look there for code:

    $GLOBALS['module'] = !empty($_REQUEST['login_module']) ? '?module='.$_REQUEST['login_module'] : '?module=Home';

    Change (if you want Accounts as startmodul)

    $GLOBALS['module'] = !empty($_REQUEST['Accounts']) ? '?module='.$_REQUEST['Accounts'] : '?module=Accounts';


    You should be logged out from sugar.

    Should work.
    Mike

  3. #3
    lieutdan13 is offline Junior Member
    Join Date
    Jul 2008
    Posts
    4

    Default Re: Set the login module

    Changing that didn't help, but I did find the solution. I added the following line to config_override.php
    $sugar_config['default_module'] = 'Calendar';

    If I visit the root of my Sugar URL "http://sugar.example.com/" without logging in, I get redirected to "http://sugar.example.com/index.php?action=Login&module=Users&login_module=C alendar&login_action=index"
    instead of
    "http://sugar.example.com/index.php?action=Login&module=Users&login_module=H ome&login_action=index"

    I thought I change this setting in the first first, but I may have had a cookie set that was overriding it.
    Thanks for your help.

  4. #4
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: Set the login module

    hi,
    Change Config.php.
    There is option for changing default module .
    May this help u.
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Nach dem Login erscheint wieder die Login Maske
    By realnexus in forum Deutsche
    Replies: 1
    Last Post: 2009-02-19, 10:21 PM
  2. Replies: 1
    Last Post: 2008-08-13, 03:04 PM
  3. Replies: 0
    Last Post: 2005-12-09, 10:29 PM
  4. Login module for sugarcrm and mambo
    By marcinand in forum Feature Requests
    Replies: 0
    Last Post: 2005-04-04, 01:06 PM
  5. Login module for sugarcrm and mambo
    By marcinand in forum Help
    Replies: 6
    Last Post: 2005-03-18, 05:07 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
  •