Results 1 to 10 of 10

Thread: Additional reminder times for calendar entries

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

    Default Additional reminder times for calendar entries

    I want to set up additional reminder times for meetings and calls. Currently the maximum time is 1 hour. How can I add 1 day for example? I have added to the dropdown but assume I need to add a line of code somewhere?

    Thanks

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Additional reminder times for calendar entries

    Hi
    Try to change the "reminder_time_options" drop down.

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

    Default Re: Additional reminder times for calendar entries

    Quote Originally Posted by crmbalah View Post
    Hi
    Try to change the "reminder_time_options" drop down.
    Thanks for your reply. I have changed that dropdown to include the extra fields, for example:

    86400 [1 day prior]

    but it doesn't seem to work when tested. The additional options appear in the dropdown but the reminder is not activated. I therefore assumed I had to add some additional code somewhere? I thought maybe it might be in jsalerts.php but can't find anything.

    Thanks again

  4. #4
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Additional reminder times for calendar entries

    Hi

    go to include/language/en_us.lang.php

    and customize the code like this


    Code:
    'reminder_time_options' => array( 60=> '1 minute prior',
                                      300=> '5 minutes prior',
                                      600=> '10 minutes prior',
                                      900=> '15 minutes prior',
                                      1800=> '30 minutes prior',
                                      3600=> '1 hour prior',
                                       86400 =>'1 day prior',
                                     ),

  5. #5
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Additional reminder times for calendar entries

    Add the customization into custom/Extension/application/Ext/Language/<language>.lang.php
    You also need to update the entry 'reminder_max_time' into app_strings.

    Remember to Repair Extensions.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

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

    Default Re: Additional reminder times for calendar entries

    Quote Originally Posted by crmbalah View Post
    Hi

    go to include/language/en_us.lang.php

    and customize the code like this


    Code:
    'reminder_time_options' => array( 60=> '1 minute prior',
                                      300=> '5 minutes prior',
                                      600=> '10 minutes prior',
                                      900=> '15 minutes prior',
                                      1800=> '30 minutes prior',
                                      3600=> '1 hour prior',
                                       86400 =>'1 day prior',
                                     ),
    Thanks again. My code already has the entries included from typing into studio dropdown editor.

  7. #7
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Additional reminder times for calendar entries

    HI

    if you want to customize the reminder time in "custom/Extension/application/Ext/Language/<language>.lang.php"

    change your array formate like this

    $GLOBALS['app_list_strings']['reminder_time_options']=array (
    60=> '1 minute prior',
    300=> '5 minutes prior',
    600=> '10 minutes prior',
    900=> '15 minutes prior',
    1800=> '30 minutes prior',
    3600=> '1 hour prior',
    );

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

    Default Re: Additional reminder times for calendar entries

    Quote Originally Posted by andopes View Post
    Add the customization into custom/Extension/application/Ext/Language/<language>.lang.php
    You also need to update the entry 'reminder_max_time' into app_strings.

    Remember to Repair Extensions.

    Cheers
    Thanks for your response. I am somewhat of a newbie so please forgive my perhaps obvious questions...

    I don't currently have a us.land.php file in the folder you specified - only 1 files for custom modules. Do I therefore need to create a new file?
    Which file will I find 'reminder_max_time' app_strings?

  9. #9
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Additional reminder times for calendar entries

    You have to create all folders and file.
    The entry reminder_max_time you can find at include/language/en_us.lang.php
    The value for this entry need to be the greater one specified into reminder_time_options.
    Remember Repair Extensions after implementing these changes.

    Chees
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

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

    Default Re: Additional reminder times for calendar entries

    Thank you both so much for your help. I have managed to get to working now!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-01-02, 05:38 PM
  2. Replies: 2
    Last Post: 2007-07-03, 03:14 PM
  3. Replies: 0
    Last Post: 2006-07-13, 02:56 AM
  4. Replies: 4
    Last Post: 2005-09-12, 08:08 AM
  5. Replies: 2
    Last Post: 2005-08-20, 04:04 AM

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
  •