Results 1 to 4 of 4

Thread: Dashboard / My Pipeline link problem

  1. #1
    anssi is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    14

    Default Dashboard / My Pipeline link problem

    I'm using version OS 4.5.0b. When I click flash diagrams on Dashboard or My Pipeline and Sugar should show list of certain opportunities it shows list of all opportunities. sales_stage and user_id variables are right in page url but I guess the problem is that "basic" search mode won't recognize these variables and link should use "advanced search" tab. Has anyone found solution for this problem. I've tested this with different setups and servers so it shouldn't be just my problem.

    Bug 9311
    Anssi Rönnqvist
    SugarCRM Finnish language pack
    Sugarportal.fi
    Antamis, http://www.antamis.fi
    skype: antamis-ar

  2. #2
    loeboy is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Orlando, FL
    Posts
    17

    Default Re: Dashboard / My Pipeline link problem

    I'm having the same issue. Any advice would be greatly appreciated.

  3. #3
    anssi is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    14

    Default Re: Dashboard / My Pipeline link problem

    Doesn't seem to work in 4.5.0d. If I change some variables into url from Pipeline swf I get the right results. I add "searchFormTab=advanced_search" and take away variable "date_closed=" and then Sugar shows things I wan. Now I just need to find where to change this link. Suppose it's in Charts-module.
    Anssi Rönnqvist
    SugarCRM Finnish language pack
    Sugarportal.fi
    Antamis, http://www.antamis.fi
    skype: antamis-ar

  4. #4
    anssi is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    14

    Default Re: Dashboard / My Pipeline link problem

    You need to change some codes to get these things to work. In every file the row to be changed is same and it starts with "$fileContents .= ". I added "searchFormTab=advanced_search&" after "url=index.php?" and removed part "&date_closed='.$date_end.'". Because of this only the starting date in Pipeline configurations does something. The problem is that in Sugar's opprtunity search "date_closed" seems to mean "expected closing date" and not "opportunities before this date". If I left this variable it didn't show any results.

    The files where changes need to be done the fix Dashboard and My Pipeline Dashlet are

    modules/Charts/Dashlets/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageDashlet.php
    line around 347

    modules/Charts/Dashlets/MyPipelineBySalesStageConfigure/MyPipelineBySalesStageDashlet.php
    line around 319

    modules/Charts/code/Chart_my_pipeline_by_sales_stage.php
    line around 340

    modules/Charts/code/Chart_pipeline_by_sales_stage.php
    line around 394

    I recommend to comment out the original line and copy-paste a new line under it and then do the changes to this copy. It's easier to get back to original one if something goes wrong.
    Anssi Rönnqvist
    SugarCRM Finnish language pack
    Sugarportal.fi
    Antamis, http://www.antamis.fi
    skype: antamis-ar

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
  •