Results 1 to 5 of 5

Thread: Changing the home page

  1. #1
    Koldstream is offline Member
    Join Date
    Jul 2010
    Posts
    7

    Default Changing the home page

    Hi I'm using sugar 5.2

    I posted this question before and I thought I had solved it but apparently I was wrong.

    How do you change the home page of Sugar? At the moment it always goes to Home when you open Sugar.

    I have reordered the tabs so that opportunities (the tab I want the user to land on ) is at the top of the list but this doesn't work. I have also tried to make the home page hidden (under the tab configuration section but this doesn't work)

    Has anyone got any ideas, or is this impossible?

    Thanks

  2. #2
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: Changing the home page

    Insert the code at top of file ../modules/Home/index.php It should be something like this
    PHP Code:
    header('location: index.php?module=Contacts&action=index');
    exit; 
    Last edited by AlexAv; 2010-08-13 at 12:11 PM.
    Letrium ltd. - Only high quality service
    http://letrium.com

  3. #3
    ivit is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    187

    Default Re: Changing the home page

    When you login to Sugar, it goes to default module which is by default Home. However, you don't need to change/remove Home page, since Dashlets will be necessary. Instead you could put default module value in config.

    For example, I am using Documents as my default module, i.e.in config_override.php I have put the following:
    $sugar_config['default_module'] = 'Documents';
    and whenever user logs in, he/she will go to documents module.

  4. #4
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: Changing the home page

    Quote Originally Posted by ivit View Post
    When you login to Sugar, it goes to default module which is by default Home. However, you don't need to change/remove Home page, since Dashlets will be necessary. Instead you could put default module value in config.

    For example, I am using Documents as my default module, i.e.in config_override.php I have put the following:
    $sugar_config['default_module'] = 'Documents';
    and whenever user logs in, he/she will go to documents module.
    Great solution! I forgot about this.
    Letrium ltd. - Only high quality service
    http://letrium.com

  5. #5
    abhax's Avatar
    abhax is offline Senior Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    65

    Smile Re: Changing the home page

    Quote Originally Posted by ivit View Post
    When you login to Sugar, it goes to default module which is by default Home. However, you don't need to change/remove Home page, since Dashlets will be necessary. Instead you could put default module value in config.

    For example, I am using Documents as my default module, i.e.in config_override.php I have put the following:
    $sugar_config['default_module'] = 'Documents';
    and whenever user logs in, he/she will go to documents module.

    Hi,

    I also needed to change the home page as per user basis.
    This is one solution but it would be fixed for all users.

    another solution is

    modules/Users/Authenticate.php

    copy this file in custom/modules/Users/Authenticate.php
    What it would do is make it upgrade safe.

    Looks for
    if(!empty($modListHeader[$idx])){
    $module = '?module='.$modListHeader[$idx];
    $action = '&action=index';
    $record = '';
    }

    Do the necessary changes that let you make the per user basis homepage

    and repalce $modListHeader[$idx] with $module_name_for_my_user // the module u want as the home page
    place your code before the code mentioned above.
    That would redirect the user to the whatever the value is in that variable. do check a lil bit more coz i dun have Sugar installation with me right now. But i hope you got the idea.


    Hope it is helpful !!!
    If It Is To Be, It Is Up To Me

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Changing home page to custom module
    By rob78 in forum Developer Help
    Replies: 7
    Last Post: 2011-10-11, 05:10 PM
  2. Blank Page - Home page & no options to rebuild
    By ericd in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-09-27, 07:30 AM
  3. Blank home page, Admin page works
    By daz in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2009-01-27, 07:07 PM
  4. changing home page to calendar
    By sugarcare in forum General Discussion
    Replies: 1
    Last Post: 2006-01-13, 02:20 AM
  5. Changing default calendar view in Home Page
    By smueller72 in forum Feature Requests
    Replies: 5
    Last Post: 2005-03-03, 04:36 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
  •