Results 1 to 5 of 5

Thread: Modifying Dashlet class

  1. #1
    iqbalmp is offline Sugar Community Member
    Join Date
    Jan 2010
    Location
    cochin
    Posts
    26

    Default Modifying Dashlet class

    I need to modify the 'include/Dashlets/Dashlet.php' for some customization on Dashlets. How can I do this in an upgrade compatible way?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Modifying Dashlet class

    Copy the modules/<ModuleName>/Dashlets/<DashletName>/ to custom/modules/<ModuleName>/Dashlets/<DashletName>/

    Edit the script custom/modules/<ModuleName>/Dashlets/<DashletName>/<DashletName>.php and implement the functions you need to override.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    iqbalmp is offline Sugar Community Member
    Join Date
    Jan 2010
    Location
    cochin
    Posts
    26

    Default Re: Modifying Dashlet class

    Thank You for the reply,

    But it seems to be not working for me; I have changed
    'custom\modules\Accounts\Dashlets\MyAccountsDashle t\MyAccountsDashlet.php' ,
    No effecte on dashboard (after clearing cache as well)
    However changes can be made from original location 'modules\Accounts\Dashlets\MyAccountsDashlet\MyAcc ountsDashlet.php'.
    Is there something else has to be done for make it working from custom location?
    Last edited by iqbalmp; 2011-07-22 at 05:47 AM.

  4. #4
    iqbalmp is offline Sugar Community Member
    Join Date
    Jan 2010
    Location
    cochin
    Posts
    26

    Default Re: Modifying Dashlet class

    Somebody please help!! this is urgent for me.

  5. #5
    PanJun is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Shanghai
    Posts
    50

    Default Re: Modifying Dashlet class

    Hi,

    I did some examples on the SugarForge BUT all for charts. They are now compatible with 6.1 but will be updated to 6.2 in the future. Maybe you are interested in.
    http://www.sugarforge.org/projects/dashlets-hub/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. custom dashlet class
    By MahsaN in forum Developer Help
    Replies: 0
    Last Post: 2010-08-18, 10:00 AM
  2. Help! Modifying relationships
    By StRos in forum Developer Help
    Replies: 1
    Last Post: 2009-04-09, 01:44 AM
  3. modifying php.ini
    By Karol in forum Help
    Replies: 1
    Last Post: 2006-10-15, 10:07 PM
  4. Modifying the quick 'New Contact' dashlet
    By MORAND in forum Developer Help
    Replies: 5
    Last Post: 2006-07-25, 05:35 PM
  5. Modifying Calendar
    By kevind in forum Developer Help
    Replies: 0
    Last Post: 2005-01-13, 10:20 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
  •