Hot answers tagged

32

Availablity of extensions The biggest difference is the availability of extensions/add-ons/extra-integrations -- there are more addons for Civi+Drupal, but the differences are shrinking over time. Civi 1.x didn't originally support its own extension mechanism - the only option was to write a Drupal module. Consequently, Civi-Drupal modules grew first/...


22

Some thoughts Anonymizing data is hard work. Eg: Would it be OK if your developer could de-anonymize your contacts by identifying from geolocated data? What about identifying by "metadata", if suburb data is left in? Does your developer need a DB with activities from inbound email left in? Has the situation improved in the decade since WIRED Why 'Anonymous'...


20

UPDATE: Please head to this Q+A for documentation information / links or head direct to the installation documentation There is a channel on Chat here


17

To answer my own question, it is possible to update CiviCRM with drush but this isn't completely straightforward either. For the benefit of others I post the steps I took below. These steps must be executed in the root directory of Drupal: put the site into maintenance mode: drush vset maintenance_mode 1 clear all caches: drush cc all take a full backup of ...


17

No custom code required! If you're on Drupal Views integration, which ships with CiviCRM - all that's required here are Drupal modules Views, Views PDF and installation of two libraries for the PDF generation: tcpdf and fpdi; Here are the steps: First we will create a Membership tab in your Drupal /user screen where we will display the relevant Membership ...


14

Besides what Tim wrote, it is currently still important to note that most people use it with Drupal. This means Drupal integration has the least amount of bugs and more active maintenance, which is even more significant in the context of the long term support (LTS) releases.


14

Active Development has restarted on the Drupal 8 version. It is possible to get it installed now, although it takes a slight different process than with Drupal 7. Assuming you have Drupal 8.2.5 installed. Download and install the 8.x-3.x-dev version of the Libraries module: https://www.drupal.org/project/libraries Download the most recent version of ...


13

It sounds as though there is either a cached path to ClassLoader.php somewhere or there are two copies of the CiviCRM code under your modules directories. Various scenarios and solutions are discussed in this forum post: svn installation says "Cannot redeclare class CRM_Core_ClassLoader" Please post back here rather than on the forum, though. If you're sure ...


13

The short answer is easy, which you can take away from Does CiviCRM work with Drupal 8 and how can I help? — CiviCRM is not yet fully functional with Drupal 8. You can see issues tagged for Drupal 8 in JIRA, and even better, help test and develop the Drupal 8 branch code. The long answer is more complicated, and depends on your organization's development ...


13

Backdrop The simplest way would be to use the Webform Registration module, which has been tested to ensure it works with CiviCRM email fields. Drupal This conversation came up on the CiviCRM chat. I have done this for a site previously -- following instructions from @petednz's blog post here. (Note that blog post also has some exported Rules that you can ...


13

I'd originally started my Civi 'journey' by bolting it onto our existing Wordpress site, and that was fine for holding contact details and sending out bulk emails/SMS. As we started to use Civi more though, it became quickly apparent that we couldn't do many of the things in Wordpress that we'd like to. The lack of an equivalent to the Drupal webform ...


12

It is the regular Drupal Views module, but if you have Drupal and CiviCRM in separate databases, you have to edit your settings file to let Views know where to find the CiviCRM data. (Coleman notes in addition: "if your drupal sql user and civicrm sql user are different then you need to grant SELECT privileges to the drupal one for the civi db.") You can ...


12

I faced this problem too and tried a lot of things to make it works, but failed. Finally, I opened the file "index.php" in "http://(mysite)/sites/all/modules/civicrm/install/index.php". I put the comments in line number 265th through 274th like this. /* // Check that user is logged in and has administrative permissions // This is necessary because the ...


11

The recommended and least invasive fix is to resolve the underlying SSL issues. It was intentional that PHP5.6 tightened security here. If your hosting environment doesn't validate the SSL certificate you're communicating with, one of these things is probably true - The hosting environment has a misconfigured certificate chain. (Fix varies by hosting ...


10

I think the big differences relate to architectural differences between the three, and of course all come about as you increasingly seek to integrate between the CMS side and the CRM side. If you just want to use the core CRM it is self contained. So in Joomla you really use plugins (that respond to event triggers) and modules. Once key difference is that ...


10

By default the Webform-CiviCRM module uses the default "Unsupervised" rule from CiviCRM to determine if an unknown contact is already in your database. If this is not happening for you, check your rule's criteria. And as of v4.11 you can now specify the matching rule per contact. You'll find this new option just under the "Contact Fields": The help text ...


10

Migrating from Drupal/Civi to Wordpress/Civi is relatively painless. You'll need to truncate your civicrm_uf_match database table, which links Civi records to CMS users, and repopulate it - Administer menu > Users and Settings > Sync Users to Contacts works well if you want ALL your Wordpress users to be linked up. That said, there are numerous gotchas to ...


9

You can use the relationship section of a view for this. A relationship in a view is a relationship between entities don't confuse it with the relationship you have between contacts. So you could set up a view relationship starting from contact a (the a side of the civicrm relationship), or from contact b (the b side of the civicrm relationship). This a ...


9

See answer from @jackrabbithanna for current status. tl;dr : It's not yet production ready, and the list of things you can help on is in JIRA at https://issues.civicrm.org/jira/browse/CRM-17652?filter=23012 . Additionally, please create additional issues and mark Label them drupal-8. Building on the previous work, Allen Shaw made some progress recently ...


9

You can get a list of Civi-related Drush commands simply by typing drush on the command line. Excerpt: All commands in civicrm: (civicrm) civicrm-api (cvapi) CLI access to CiviCRM APIs. It can return pretty-printor json formatted data. civicrm-enable-debug Enable CiviCRM ...


9

CiviCRM needs to be hosted on a webserver that meets the proper hosting specs. See http://book.civicrm.org/user/getting-prepared/hosting/ Technically you could host it on your own computer, this would not be practical for an organization. I believe that your CiviCRM installation should be hosted where your website is hosted. Depending on the size of your ...


9

Leaftlet is an open-source JavaScript Library for interactive mobile friendly maps. It only takes a few minutes to put your CiviCRM Contacts on a Leaflet Map if you're using Drupal. Here are some of my slides from my CiviCON 2016 lightning talk: EDIT: Some additional notes based on comments below and some questions emailed to me: To get started with CiviCRM ...


9

The 5.x series has a new point release every month, with a focus on stability (generally, large new features go into extensions). So upgrading 5.0 -> 5.7 is the equivalent of upgrading 4.7.20 -> 4.7.27, a minor upgrade and generally considered safe to do at once.


8

CiviEngage, at the moment, is a Drupal module that currently ships with the official CiviCRM Drupal release (see https://github.com/civicrm/civicrm-drupal/tree/7.x-master/modules/civicrm_engage, which ends up installed in sites/all/modules/civicrm/drupal/modules/civicrm_engage). That means you won't find it on drupal.org or any other drupal module site and ...


8

If you have the Spouse and the Child set up with Relationships - and you configure the webform to have 3 contacts, and you set the contact 2 "Existing contact" webform component to have a 'default value' based on 'relationship to contact 1' then I would expect that using a checksum for contact 1 should result in those other contacts being prefilled. Is that ...


8

Once you have selected 'user select' for the groups in the CiviCRM section of the webform admin section, save and return to the 'components' tab (where all the webform fields are listed). Find your Groups field and edit it from the component list. If you change the list from Live to Static, you can then select which of your groups will appear as an option ...


8

In general: you should NOT use a from address of a domain you do not control. the smtp protocol does not care and you can send an email pretending to be whomever sender you want, but given how it has been abused by spamers, other protection layers were put in place (DKIM, SPF). These basically white-list which servers are allowed to send emails on the ...


8

As the author of that message, let me try and clarify ... The mcrypt extension is (only) used to encrypt selected passwords, and "selected" as far as I know usually only includes the smtp password, (which you may not even be using). The message is there that so that if you upgrade your php version and the new one doesn't include mcrypt, you are aware that ...


8

The latest versions of CiviCRM run fine with PHP 7.2. However, a) this has only been true a few months, b) Drupal 7 has only very recently become 7.2-compatible, c) most major Linux distributions don't ship with 7.2 by default. I'd say those three factors account for few sites running it. Note that as of CiviCRM 5.8.0, known PHP 7.2 import issues have ...


8

We had the same issue and same resolution, but agree, it doesn't feel right. I opened an issue in the lab but couldn't find anything else: https://lab.civicrm.org/dev/drupal/issues/45 EDIT: Maintainer/owner "colemanw" replied to the issue: Looks like "access CiviCRM" was recently renamed "access CiviCRM backend and API" I assume to enhance clarity ...


Only top voted, non community-wiki answers of a minimum length are eligible