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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading custom CiviCRM module to 2.1
Pages: [1]

Author Topic: Upgrading custom CiviCRM module to 2.1  (Read 1431 times)

Whygee

  • Guest
Upgrading custom CiviCRM module to 2.1
February 26, 2009, 02:12:11 pm
I don't if this the right forum, but I am a bit out of my depth and I'm looking for help:

I successfully upgraded to CiviCRM 2.1, but now one of my custom module is not working anymore (Drupal says it is incomptaible with core 6.10)

Basically, this modules exports contribution data to CSV so the data can be used to produce tax receipt in mail-merge.

I was wondering if someone could point me in the right direction so I could make the module compatible with 2.1.

I could also provide the code.

Thanks.
« Last Edit: February 26, 2009, 02:14:21 pm by Whygee »

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: Upgrading custom CiviCRM module to 2.1
February 26, 2009, 02:23:57 pm

check:

http://drupal.org/node/114774

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

Whygee

  • Guest
Re: Upgrading custom CiviCRM module to 2.1
February 26, 2009, 03:45:58 pm
Thanks, the deadwood utility seem to have worked.

However, I can't access my module. On my original install, there was a menu item linked to something like /export

In my new install, this link doesn't work. What I should do to re-install my custom module?

Thanks.

Whygee

  • Guest
Re: Upgrading custom CiviCRM module to 2.1
March 02, 2009, 11:11:25 am
Here is the "Coder" compatibility report, if it can help:

modules/civicrm_exportpvq/civicrm_exportpvq.module
civicrm_exportpvq.module
Line 122: The menu system has been completely over-hauled in 6.x. (Drupal Docs)
  if ($may_cache) {
Line 196: new hook_theme() function is required to register theme_ functions (Drupal Docs)
function theme_civicrm_exportpvq_recu_form($form) {
Line 462: Submit handlers use $form_state rather than returning urls (Drupal Docs)
    return NULL;

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrading custom CiviCRM module to 2.1
March 02, 2009, 02:29:20 pm
If you haven't posted this to a Drupal forum - you probably should since this is a Drupal issue. Hopefully someone there can help.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading custom CiviCRM module to 2.1

This forum was archived on 2017-11-26.