Results 1 to 5 of 5

Thread: Date Range for Dashboard

  1. #1
    LuvDodo is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Virginia, US
    Posts
    22

    Default Date Range for Dashboard

    Friends,

    I am sounding so dumb.....

    On the dashboard - I see a default date range for charts to be 2006-2010. Where do I change that globally for all users?
    I just want it to be one final year. apr 06 to mar 07
    Thanks very much,

    Dodz

  2. #2
    LuvDodo is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Virginia, US
    Posts
    22

    Unhappy Re: Date Range for Dashboard

    Pluueeeeezzz Yelp....

    Thanks very much,

    Dodz

  3. #3
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Date Range for Dashboard

    In modules\Charts\code\Chart_my_pipeline_by_sales_sta ge.php, the start date is defined like;
    PHP Code:
    $date_start date($timedate->get_date_format(), time()); 
    and the end date is defined here.
    PHP Code:
    $date_end date($timedate->get_date_format(), strtotime('2010-01-01')); 
    You may want to modify these lines as you like.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  4. #4
    LuvDodo is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Virginia, US
    Posts
    22

    Default Re: Date Range for Dashboard

    Just saw your response, thank you so much

    Will try this out today.
    Thanks very much,

    Dodz

  5. #5
    dwiegand is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    24

    Smile Re: Date Range for Dashboard

    Just a note to help people when they need to make a mod, but can not find the right file.

    I use a tool called TextPad which has a 'find in files' feature and will recurse subdirectories. It returns a list of files that have the string specified. From there you can parse the results until you see something that looks like it might be 'the one'.

    Any tool with this capability will suffice, this is just the one I prefer.

    Good luck.
    Best,
    Douglas

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
  •