Results 1 to 6 of 6

Thread: Forcing dashlet conformity between users

  1. #1
    leenwebb is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    New Hampshire
    Posts
    77

    Default Forcing dashlet conformity between users

    Hi all,
    I'm very new to Sugar, and am having a little trouble finding my way around.

    Here's the story: We're implementing a very pared down version of Sugar -- basically just Contacts/Calls/Meetings for now, none of the fancy Opportunities/Campaigns/etc. I've already set up the Roles and Tabs so that users only see the relevant links.

    I'd like to set it up so that the Home page (the one a user sees when they log in) only has the few relevant dashlets on it. Is there a place where I can set up a 'default' home page view (kind of like Roles), so that I don't have to go around clicking X on every individual's extra dashlets?

    Thanks
    Eileen

    P.S.! Is there a way to assign a user to a Role during creation? Right now, I'm creating each user, and then going and adding them to the relevant Roles. I'd love to do it in fewer clicks.
    Last edited by leenwebb; 2006-11-10 at 07:22 PM.

  2. #2
    leenwebb is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    New Hampshire
    Posts
    77

    Default Re: Forcing dashlet conformity between users

    Found it!

    It's line 45 in modules/Home/index.php :

    $defaultDashlets = array('MyCallsDashlet', 'MyMeetingsDashlet', 'MyPipelineBySalesStageDashlet', 'MyAccountsDashlet');

    I can add and delete dashlets to my heart's content. It only affects new users (because this line is only called the first time they log in), but that's good enough for me.


    -Eileen

  3. #3
    atheimer98 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    202

    Default Re: Forcing dashlet conformity between users

    An extension of this that would be great would be to create one configuration of dashlets and make THAT the
    default for all new users. For example I want every user to see the same exact thing and never be able to edit it.

  4. #4
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Forcing dashlet conformity between users

    Hi,

    Did you take a look at the option in the System Settings "Prevent user customizable Homepage layout:". I should think this would stop users modifying the Homepage, although O haven't tried it myself.

    Hope this helps, and if it does let us know!
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  5. #5
    atheimer98 is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    202

    Default Re: Forcing dashlet conformity between users

    Thanks! I'm going to bite the bullet and teach myself the dashboards this weekend so I can debug them as needed.
    I just deployed a system which is heavily customized and I want all users to see the same customized dashlet.

  6. #6
    leenwebb is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    New Hampshire
    Posts
    77

    Default Re: Forcing dashlet conformity between users

    In my experience, the "Prevent user customizable Homepage layout" doesn't seem to do that at all. I'm not sure what it does, actually. I turned it on and was still able to add/edit/delete dashlets. In general, I've found that most of the things in Sugar that you can turn off (like turning off entire modules via Roles, or not displaying all the tabs) don't really do a thorough job. If you turn off "Emails", for example, the "Create New Email" link is still in all the sidebar menus, and you have to edit all of the menu.php files individually. As I said, I'm implementing a very pared down Sugar, and run up against this stuff constantly.

    Atheimer98, you may be interested to know that you can take away the edit/close/refresh buttons in the dashlets by commenting out some lines in include/Dashlets/dashlet.php. It's around line #80.

    Eileen
    Last edited by leenwebb; 2006-12-09 at 07:36 PM.

Thread Information

Users Browsing this Thread

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

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
  •