Results 1 to 4 of 4

Thread: Quick Edit in Task Dashlet

  1. #1
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Quick Edit in Task Dashlet

    Hello,

    We have a problem with the quick edit icon in the task dashlet of My Sugar.

    When displaying the User in the dashlet, the quick edit icon is unusable. Instead of quick editing the task, it either send an error message to normal users, or for admins it opens Create New user form.

    This is most annoying and loss of time.

    Anyone else have that problem ?

    Anyway to fix that besides the obvious but not acceptable "Do not Display User" ?

    Thank you

  2. #2
    justin.levitz@nrinet.com is offline Junior Member
    Join Date
    Mar 2011
    Posts
    4

    Default Re: Quick Edit in Task Dashlet

    I don't see the edit button on the task dashlet, how do you get it to appear?

  3. #3
    anthony.watson is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    14

    Default Re: Quick Edit in Task Dashlet

    I don't know if you found a solution on your own, but I found the source of the problem and a non-upgrade-safe solution:


    The problem is that the smarty template for dashlets uses parameters from the last column of the dashlet to build out the quick edit link. So you would have seen the same problem if you had made Team the last column (but instead of going to the Users module, you would go to the Teams module). Oddly enough, it uses the row parameter to populate the record id that the quick edit points to, so you end up trying to edit a non-existent User.

    The easiest workaround (other than the dreaded "don't display users" is "don't display users on the last column". Maybe make the last column the Task status or something.

    The much nerdier workaround is to edit the file "/include/Dashlets/DashletGenericDisplay.tpl"

    Find the section starting with:

    Code:
    {if $pageData.access.edit}
    and replace the following:

    Code:
    module={$params.module|default:$pageData.bean.moduleDir}
    with

    Code:
    module={$pageData.bean.moduleDir}
    I have no idea what use case would lend itself to how it's set up now, but I can't imagine it comes up more often than your scenario.

    I'm going to submit the fix next week. Good catch.

  4. #4
    collinlee is offline Sugar Team Member
    Join Date
    Sep 2006
    Posts
    187

    Default Re: Quick Edit in Task Dashlet

    This was tracked and fix by bug #47305 in 6.3.0RC2 release.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Quick Create Task - On Cases Module
    By rcastro in forum Help
    Replies: 2
    Last Post: 2010-04-22, 05:03 PM
  2. Add project task option to emai quick create
    By dimitsuo in forum Feature Requests
    Replies: 0
    Last Post: 2010-03-26, 01:38 PM
  3. quick create dashlet
    By gobezu in forum General Discussion
    Replies: 1
    Last Post: 2007-02-20, 09:51 PM
  4. Modifying the quick 'New Contact' dashlet
    By MORAND in forum Developer Help
    Replies: 5
    Last Post: 2006-07-25, 05:35 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
  •