Results 1 to 8 of 8

Thread: How to add Custom Module Dashlet

  1. #1
    robert.blasingame is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    24

    Default How to add Custom Module Dashlet

    We are running Sugar 5.0c and have created a custom module. We would like to build dashlets on this custom module but it is not showing up. I am sure there is some customization that must be done to the code but not sure where. Any ideas?

    Thanks.

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: How to add Custom Module Dashlet

    did you call "admin" - "repair" - "Rebuild dashlets" ?

  3. #3
    robert.blasingame is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    24

    Default Re: How to add Custom Module Dashlet

    Yes, I did. It appears that there is a specified list of available dashlets somewhere that is not populated with custom modules. Not quite sure where that would be.

  4. #4
    RolandW. is offline Junior Member
    Join Date
    Apr 2008
    Posts
    4

    Default Re: How to add Custom Module Dashlet

    I have the same issue,... how can i create a dashlet using a custom module. rebuilding the dashlet cache didnīt work for me either. Is there a possiblity to show open tickets created with a custum module?

    thx,
    roland

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: How to add Custom Module Dashlet

    Where - in which directory - did you place your dashlets?

  6. #6
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: How to add Custom Module Dashlet

    IN http://www.sugarcrm.com/forums/showthread.php?t=32695 I just decribed how to create an own chart dashlet in version 5.0.0c, perhaps this will help.

  7. #7
    RolandW. is offline Junior Member
    Join Date
    Apr 2008
    Posts
    4

    Default Re: How to add Custom Module Dashlet

    Thank you for the answer kuske, but it seems as if my problem still remains, because your how-to covers chart-desklets.

    Iīve created a trouble-ticket-module. Open tickets will be assigned to different users. The goal is to create a dashlet which presents all open tickets, that are assigned to a specific user/group on the userīs "home"-page when he logs in.

    Is there a solution for this task?

    Thanx and greetinx.
    Roland

  8. #8
    lynn1804 is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Ipswich, United Kingdom
    Posts
    20

    Default Re: How to add Custom Module Dashlet

    If your module is similar to the cases module you can use its dashlet as a starting ground for your custom dashlet.

    Open %sugarroot%/modules/Cases and copy the "Dashlets" directory
    Paste this folder into the root of your custom module.

    You will then need to open up all of the files within this directory and replalce "MyCasesDashlet" with 'MyCustomNameDashlet'
    and replace any cases.php and bean references with the bean of your custom module.

    You then need to open MyCustomNameDashlet.data.php and modify the fields to match your custom fields.

    Once you have done all this you will need to rebuild your dashlets using the tool in the admin control panel.


    (This is a rough guide and you will need to work some of it out yourself)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOWTO - Enhance ModuleBuilder generated modules to include AJAX
    By kenneth.thorman in forum Developer Tutorials
    Replies: 10
    Last Post: 2009-01-16, 05:53 PM
  2. Unusual Probelm with Custom Module
    By Nisbet in forum Developer Help
    Replies: 3
    Last Post: 2008-03-13, 07:37 PM
  3. Maximum Custom Fields add in module
    By Senthil in forum Developer Help
    Replies: 0
    Last Post: 2007-07-12, 10:36 AM
  4. Cannot add custom field to custom module
    By longnv in forum Developer Help
    Replies: 0
    Last Post: 2007-03-10, 12:30 PM
  5. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM

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
  •