CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Adding meeting to organisation pre 2005
Pages: [1]

Author Topic: Adding meeting to organisation pre 2005  (Read 2516 times)

cgfoz

  • Guest
Adding meeting to organisation pre 2005
September 17, 2007, 10:45:44 am
Having set up civicrm (1.8 in drupal 5), we wish to add some backdated communication that we have had with organisations pre-2006 in the activities tab of civicrm.

When I try to add a meeting the drop down box only gives dates from 2006 onwards.

Can someone point out the setting where this is set up, or alternatively, the place in the templates/code where this is generated.

Many Thanks
Chris

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Adding meeting to organisation pre 2005
September 17, 2007, 11:24:03 am

You can change the date settings in:

CRM/Activity/Form/*.php

change:

        $this->add('date', 'scheduled_date_time', ts('Date and Time'), CRM_Core_SelectValues::date('datetime'),true);


to

        $this->add('date', 'scheduled_date_time', ts('Date and Time'), CRM_Core_SelectValues::date('manual', 20, 3),true);

You can play with the parameters to go back/forward as needed. In v2.0, these settings have been moved to the database

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

cgfoz

  • Guest
Re: Adding meeting to organisation pre 2005
September 17, 2007, 12:39:17 pm
Cheers Donald, that did the trick.

Chris

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Adding meeting to organisation pre 2005

This forum was archived on 2017-11-26.