Results 1 to 8 of 8

Thread: My project task dashlet - does not show all my project tasks

  1. #1
    jonaslagneryd is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Karlstad, Sweden
    Posts
    31

    Default My project task dashlet - does not show all my project tasks

    Hi,

    My project task dashlet - does not show all project tasks assigned to me. I have tired to configure and adjust but do not understand what I can do. Any ideas?

    Kind regards
    Jonas

    » Operating system type and version (Linux, Kernel version 2.6.18-028stab053.17 )
    » Sugar Suite version (Version 5.0.0g (Build 3391) )
    » Webserver type and version (1.3.41 (Unix))
    » PHP version (5.2.5)
    » MySQL server version (5.0.45-community-log)

    Am working from an Apple Macintosh IBook with OS 10.5.4; surfing with Firefox version 3.0.1.

  2. #2
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Re: My project task dashlet - does not show all my project tasks

    Can you provide some more information?

    Has it worked before?
    .. If so have you done anything recently like upgrading, adding extra fields etc.

    Is it a live system/

    regards

    niks

  3. #3
    jonaslagneryd is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Karlstad, Sweden
    Posts
    31

    Default Re: My project task dashlet - does not show all my project tasks

    Quote Originally Posted by nikidinsey
    Can you provide some more information?

    Has it worked before?
    .. If so have you done anything recently like upgrading, adding extra fields etc.

    Is it a live system/

    regards

    niks
    Hi,
    I am very new to SugarCRM so I have not seen the dashlet, on the Home tab, in use before. But I assume it shall present all project tasks assigned to me. I have not added any fields. I am not sure what you mean with live system. I use the Community Edition in real time?

    Kind regards,
    Jonas

  4. #4
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: My project task dashlet - does not show all my project tasks

    I believe there is a bug in 5.0 where you actually had to enter a zero in the percent complete field for it to show up in the dashlet.

    Meanwhile I still don't see assigned to as a project task option in 5.0.0g.

  5. #5
    raulreynoso is offline Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default Re: My project task dashlet - does not show all my project tasks

    I had the same problem. You need to change the status of the task to In Progress. If the status of the project task is set to 'Not Started' It will not show up in your dashlet

  6. #6
    nat8100 is offline Senior Member
    Join Date
    May 2009
    Posts
    27

    Default Re: My project task dashlet - does not show all my project tasks

    Thanks for this, I too was confused as to why they weren't showing up!

    Does anyone know how to make the %complete field '10' by default so ppl don't have to remember to do it each time? or which file to edit?

    Thank you

  7. #7
    Stenner is offline Junior Member
    Join Date
    May 2009
    Location
    Århus Denmark
    Posts
    2

    Default Re: My project task dashlet - does not show all my project tasks

    I've looked into the issue and found a solution.
    In modules/ProjectTask/ProjectTask.php you can predefine the value of $percent_complete to 0 by editing the file somewhere around line 65:

    before:
    Code:
    var $percent_complete;
    after:
    Code:
    var $percent_complete = 0;
    That way all new project tasks have the Percent Complete field prefilled with 0, and you don't have to worry about the tasks not showing up in the dashlet.

    René Stenner
    System Developer
    www.proremus.dk

  8. #8
    Stenner is offline Junior Member
    Join Date
    May 2009
    Location
    Århus Denmark
    Posts
    2

    Default Re: My project task dashlet - does not show all my project tasks

    An alternative solution would be to fix the dashlet itself by taking care of NULL.
    Edit the file modules/ProjectTask/Dashlets/MyProjectTaskDashlet/MyProjectTaskDashlet.php around line 59:

    before
    Code:
    function buildWhere()
        {
            $resultArray = parent::buildWhere();
            
            $resultArray[] = $this->seedBean->table_name . '.' . "percent_complete != 100";
    
            return $resultArray;
        }
    after
    Code:
    function buildWhere()
        {
            $resultArray = parent::buildWhere();
            
            $resultArray[] = $this->seedBean->table_name . '.' . "percent_complete != 100" . " OR ". $this->seedBean->table_name . '.' . "percent_complete IS NULL";
    
            return $resultArray;
        }

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "My Project Tasks" Dashlet Doesn't Show Tasks
    By markb14391 in forum Help
    Replies: 3
    Last Post: 2011-05-14, 06:36 AM
  2. Replies: 0
    Last Post: 2006-06-23, 04:41 PM
  3. Replies: 0
    Last Post: 2005-08-19, 08:43 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
  •