Results 1 to 6 of 6

Thread: dashlets - tasks filter question

  1. #1
    dcbour is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    13

    Default dashlets - tasks filter question

    How would I create a filter such that any non-completed items that either have no due date, past due or due within the week are shown. Today, I can pick no filter or due in a specified period...Thanks in advance
    D.
    Last edited by dcbour; 2006-12-14 at 05:01 PM.

  2. #2
    mycrmspaceclemens is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    135

    Default Re: dashlets - tasks filter question

    Quote Originally Posted by dcbour
    How would I create a filter such that any non-completed items that either have no due date, past due or due within the week are shown. Today, I can pick no filter or due in a specified period...Thanks in advance
    D.
    Hi

    You need to know to write or modify a dashlet. Check the Wiki for a start http://www.sugarcrm.com/wiki/index.php?title=Dashlets

    Cheers
    MyCRM GmbH
    Systems Integration | Development | Hosting
    http://www.mycrm.de

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: dashlets - tasks filter question

    Hi,

    As a work-around: Put more than one task dashlet on your homepage. You can set the title for each of them and set different filters. It's not a beautiful solution (an SQL based view would be much better) but it works...

    rgds
    rl

  4. #4
    dcbour is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    13

    Default Re: dashlets - tasks filter question

    My first solution....

    I've patched the following files...note documentation is not my strong point...

    This changes apply to version 4.5.0f.

    modules/Home/language/en_us.lang.php
    include/generic/SugarWidgets/SugarWidgetFielddatetime.php
    cache/jsLanguage/Home/en_us.js

    I'm guessing the cache file regenerates via a process, but in the event that it doesn,'t, I've uploaded a copy too renamed with a .txt extension so it would upload.

    Essentially, added a new Due In 7 days filter built off the logic of the "in 7 days" filter shown...which is a between today and today + 7 days....new filter searches on < today + 7 days (which also gets overdue items) OR is null (gets items without due dates).

    Files are attached..do a search through it for "DUEIN" to find my specific mods...

    Hope someone else finds this useful...
    If you want questions or clarification...like I know what I'm talking about... ha ha ha ...drop a line....via private message or reply here as I'm set to receive notice of replies via email, etc.

    Dave.

    P.S. Great job to all who've contributed here so far..one of the best OS projects I've come across yet.
    D.
    Attached Files Attached Files
    Last edited by dcbour; 2006-12-19 at 10:16 AM. Reason: note as version f

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

    Default Re: dashlets - tasks filter question

    Hi Dave,
    Thanks for putting up your solution here -- it's nice to find a thread with an ANSWER, instead of just another person pointing to the wiki! (I don't mean that to sound snotty... I'm just glad to actually have a solution.)


    Eileen
    Last edited by leenwebb; 2006-12-20 at 03:50 PM.

  6. #6
    dcbour is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    13

    Default Re: dashlets - tasks filter question

    Thanks, but this was really an easy fix. Just glad I could contribute.

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
  •