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 a Pledge from 1975
Pages: [1]

Author Topic: Adding a Pledge from 1975  (Read 680 times)

myxmlcigar

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WP 4.1
  • MySQL version: 5.5
  • PHP version: 5.3
Adding a Pledge from 1975
February 09, 2015, 02:47:19 pm
Moving over some data from a legacy platform.

1. Trying to add a Pledge that was made in 1975. But when selecting the "Pledge Made" date select, I only have the range from 2005 through 2025.

2. Went to: Administrator -> Localization -> Date Formats -> Advanced Date Input Settings … Changed the "Start Offset" and the "End Offset" but still only able to go back to 2005.

Anybody have a suggestion/tip before my brain melts.

Running Civi 4.5.6 on WP 4.1


TIA


Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Adding a Pledge from 1975
February 10, 2015, 12:16:23 am
The user interface will probably prevent you to enter a date earlier than that. I guess you will have to change the date directly in the database? This would be in the table civicrm_pledge?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

sandeepmohanty

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5.40
  • PHP version: 5.3.10
civicrm activity in drupal Rule
February 26, 2015, 10:16:34 pm
Is it possible to add civicrm activity in drupal Rule?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Adding a Pledge from 1975
February 27, 2015, 12:47:28 pm
Sandeep - why do you keep adding new comments that are not on topic. Both here and elsewhere you change the topic of the thread.  please open new Issues - do not change existing ones.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

myxmlcigar

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WP 4.1
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Adding a Pledge from 1975
March 10, 2015, 10:23:24 am
There was no easy way to do the change in my original posting so had to modify a core file temporarily.

Posting this for future reference or for anybody else that encounters this issue.

Edit the file: wp-content\plugins\civicrm_4.5.0\civicrm\CRM\Core\Form.php

Find this file in your current installation and update lines 1294 ish.  Changes the value of 10 to 20 or 30 and it will load the dates on the page correctly.  These are the hard coded defaults for the site of there is no offset defined for the date range. 

    if (!isset($attributes['startOffset'])) {
      $attributes['startOffset'] = 10;
    }

    if (!isset($attributes['endOffset'])) {
      $attributes['endOffset'] = 10;
    }

sandeepmohanty

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5.40
  • PHP version: 5.3.10
Re: Adding a Pledge from 1975
March 18, 2015, 03:28:31 am
Hi petednz can u give me some idea ..

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Adding a Pledge from 1975
March 18, 2015, 02:31:48 pm
Quote from: petednz on February 27, 2015, 12:47:28 pm
Sandeep - why do you keep adding new comments that are not on topic. Both here and elsewhere you change the topic of the thread.  please open new Issues - do not change existing ones.

Sandeep - not sure if you are simply unfamiliar with forums etc but I think I stated clearly that you need to open a new issue, not comment on some other when, when your request is unrelated.

This is the link to open a new issue under 'Using Core CiviCRM Functions" http://forum.civicrm.org/index.php?action=post;board=13.0
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Adding a Pledge from 1975

This forum was archived on 2017-11-26.