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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • E-civicrm module help
Pages: [1]

Author Topic: E-civicrm module help  (Read 4249 times)

altaf

  • Guest
E-civicrm module help
January 06, 2008, 10:10:34 pm
hi ,
 i want to integrate ubercart with civicrm core contact tab as a transaction  so what i did is studied E-civicrm module and added dojo tab transaction but when i click on the transaction dojo tab instead of calling callback functionality , it adds one row of entire dojo and so on......

here is the code what i did in module fie is..... 3 functions i have written.....
and directory structure is


 function ucivicrm_civicrm_links($op, $object_name, $object_id) {
  if ($op == 'tabs.contact.activity') {
    $items[] = array(
      'id' => 'Transactions',
      'title' => t('Transactions'),
      'url' => url('civicrm/contact/view/transactions', "snippet=1&cid=$object_id"),
      'weight' => 10,
    );

    return $items;
  }
}



function ucivicrm_menu($may_cache) {

  global $user;
  $uid = $user->uid;
  $items = array();

  if (!empty($may_cache)) {
      $items[] = array(
      'path' => 'civicrm/contact/view/transactions',
      'title' => t('Transactions'),
      'type' => MENU_CALLBACK,
      'callback' => 'ucivicrm_contact_transaction',
    );
  }
}


function ucivicrm_contact_transaction() {


(when user clicks dojo tab transaction call should go here from call back)


}


But here it doesnt call ucivicrm_contact_transaction function ,,, any help would be appreciated

--- altaf

altaf

  • Guest
Re: E-civicrm module help
January 06, 2008, 10:53:09 pm
 what i have added

1) in ubber-civcirm
      i)Po
     ii)ucivicrm.module
     iii)ucivicrm.installer
     
1) Transactions.tpl into civicrm}/templates/CRM/Contact/Page/View


--altaf

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: E-civicrm module help
January 06, 2008, 10:56:26 pm
I think this is drupal specific problem. You might want to check drupal developer guide.

kurund
Found this reply helpful? Support CiviCRM

altaf

  • Guest
Re: E-civicrm module help
January 07, 2008, 03:06:32 am
Hi solved the probem, it was callback problem

----altaf :D  ;)  :)

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: E-civicrm module help
January 07, 2008, 02:00:19 pm
please do update us as this comes together. Having a shopping cart well integrated with CiviCRM could be very useful for folks.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: E-civicrm module help
January 07, 2008, 03:27:03 pm
I believe that the regular ecommerce module in Drupal already has at least some integration with CiviCRM. I thin k it can use the CiviCRM address info and post sales as activity on the CiviCRM person record. But don't  trust me and check first, cause I haven't done this myself.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: E-civicrm module help
January 07, 2008, 08:46:18 pm
AFAIK, E-CiviCRM basically adds a tab in Contact Summary,  which displays all e-commerce transactions and it also adds an entry in activity table.

kurund
Found this reply helpful? Support CiviCRM

altaf

  • Guest
Re: E-civicrm module help
January 08, 2008, 09:26:12 am
   Our team is planning to contribute it, what we have developed is order history details  of individual in contact , you just need to enable u-civicrm module and it will do its task and show you one extra tab purchases in contacts.    :)
   Ubercart with civicrm integration...
--altaf
« Last Edit: January 08, 2008, 09:28:41 am by altaf »

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: E-civicrm module help
January 18, 2008, 01:39:55 pm
altaf,

Do you have any functional code you would like to share.  We're debating which direction to go with a shopping cart but in the end, we need CiviCRM integration.  Can we help test/fix bugs/implement features with you?
http://dharmatech.org
oss@dharmatech.org
801.541.8671

altaf

  • Guest
Re: E-civicrm module help
February 01, 2008, 03:14:19 am
Hey ....
  Here i m attaching both the files, Sorry for late reply , here
     1)remove .txt and store it in the folder ucivicrm
     2)then copy that folder into drupal->modules->ucivicrm
     3)Then in Drupal site building->modules->ucivicrm (enable that module)


   Now select any record in civicrm who has done the transaction and you can see the ubercart order list for that contact there in civicrm . 

 :)

--altaf

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: E-civicrm module help
July 07, 2008, 09:50:39 am
Is this module discontinued or being built on here: http://wiki.civicrm.org/confluence/display/CRMDOC/Integration+with+Drupal+Ubercart+module

Or are they completely separate? Is one of you further along than the other? Is this compatible with Civi 2.0?

Just don't want to reinvent the wheel for a third time  ;D

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: E-civicrm module help
July 07, 2008, 10:18:24 am
Quote from: emilyf on July 07, 2008, 09:50:39 am
Is this module discontinued or being built on here: http://wiki.civicrm.org/confluence/display/CRMDOC/Integration+with+Drupal+Ubercart+module

Is a complete version of uc_civicrm, and you should use this.

Kurund
Found this reply helpful? Support CiviCRM

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: E-civicrm module help
July 07, 2008, 12:10:56 pm
The version of uc_civicrm on the Ubercart site does work with CiviCRM 2.0.  Further enhancements are not at the moment a high priority for us but they could become that if a client wants more integration.

-- Walt
http://dharmatech.org
oss@dharmatech.org
801.541.8671

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: E-civicrm module help
July 07, 2008, 01:07:20 pm
Great, Walt. Thanks! I updated your documentation page for you (said it didn't work with 2.0): http://wiki.civicrm.org/confluence/display/CRMDOC/Integration+with+Drupal+Ubercart+module

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • E-civicrm module help

This forum was archived on 2017-11-26.