Questions tagged [civicrm]

CiviCRM helps organizations grow and sustain strong relationships over time.

0
votes
1answer
16 views

How to use CiviCRM contact data latitude and longitude in drupal gmap formatted view

Environment Drupal 7.67 civicrm 7.x-5.13.4 GMap Module 7.x-2.11 Location 7.x-3.7 Views 7.x-3.23 What is working I have CiviCRM contact data for organisations which has been successfully geocoded ...
0
votes
1answer
62 views

Drush command to run cron won't work in Crontab

I am attempting to run two Drush commands from my crontab: # m h dom mon dow command */2 * * * * drush -r /path -l https://www.domain.com/ cron */2 * * * * drush -r /path -l https://www.domain.com/...
0
votes
1answer
23 views

How can I programmatically add CiviCRM contacts as Drupal users?

In the process of migrating a Drupal 6 and CiviCRM installation to Drupal 8, the decision was made to host the new D8 CiviCRM instance remotely. I'm now tasked with developing the functionality needed ...
0
votes
0answers
8 views

View of CiviCRM Events containing CiviCRM Contact Data

I need to set up a list of Upcoming Events in Drupal 7 with a View of CiviCRM Events Entity. I need to redirect the logged user to a Drupal Custom Node after the user has selected a specific event to ...
0
votes
0answers
13 views

“CiviCRM Upcoming” block displaying old events

Currently running Drupal 7.61 with CiviCRM 5.7.2. We have the "CiviCRM Upcoming" block enabled in our sidebar, however it continues to display events after their start date. I've been fixing this ...
1
vote
1answer
33 views

“hook” name in module doesn't seem to work, Drupal ignores it

I've been at this for days, but I finally think I maybe kinda sorta found part of the problem, maybe...but I don't know how to fix it. I'm working on a Drupal site with the CiviCRM module running. I ...
0
votes
0answers
17 views

Getting error after adding new contact via webform

The site is totally updated with all current modules, including CIVI CRM 5.4.1, but still this errors shows up when I try to add contacts. I use webform for this. Any idea what is causing this ...
0
votes
1answer
29 views

Problems moving whole project from one directory to another

I have Xampp Portable installed on Windows 10. I run about a dozen Drupal, Wordpress and other CMS on there. I can move the whole stack to different drives and machines and it all works perfectly, ...
0
votes
1answer
42 views

Cannot create user, email: invalid!! while trying to create a user using rules module

Here is my rule export. "Cannot create user, email: invalid!!" error occurs soon after submitting the webform. Drupal user has to be created soon after Civicrm contact is created. After submitting ...
0
votes
1answer
21 views

User added to a specific group should be blocked

I'm trying to accomplish the task -" If the User is added to a specific CiviCRM group manually by admin/'users with permissions to add to group', The added user should be blocked.I'm using Rules ...
-1
votes
1answer
230 views

Link to webform submission

I have Drupal civiCRM installed. I am using webforms to create contact in civiCRM. To display these contacts I am using civiCRM views, which gives me civiCRM contact details properly but I am not ...
0
votes
1answer
32 views

what security measures should be taken when creating/updating/retrieving entities with data from users' form submissions?

We have webforms for authenticated users (anyone can create an account without admin approval) to fill out. With their submission data I'm using the civicrm_api to create contacts and relationships. ...
0
votes
1answer
102 views

How to utilise watchdog or how to debug webform error

I have a webform that integrates into CiviCRM such that the webform is used to save data into the Civi system. The following error is generated when hitting submit (although data is saved in the ...
1
vote
0answers
28 views

Change in module update function not saved

I have a module that uses update function in the module.install file. When debugging these changes during development, I call the function from hook_init(). function mymodule_init() { require_once ...
1
vote
1answer
623 views

Webform Rules - Create a Drupal User

I'm using Webforms (via the Webform module) and using Rules (with the Rules module and the Webform Rules module)... as a side note, I'm also using CiviCRM although I don't think that is has an impact ...
1
vote
2answers
420 views

Error installing CiviCRM & Drupal 8.4 | BLT & Composer - CiviCRM must be downloaded into the libraries folder

Following the amazing work @david-snopek posted: Blog post - CiviCRM & D8, David's StackExchange Post. I spent the better part of last evening trying to get CiviCRM up and running on a Drupal 8....
17
votes
3answers
833 views

How to install a module which includes a different version of Symfony?

I am a developer and maintainer for the CiviCRM project. We've been trying to make a Drupal 8 version CiviCRM, and have a come a long way. We're beating our heads against our collective keyboards ...
0
votes
1answer
72 views

How to define Views filters and relationships for custom Civicrm contact fields that are indexed via Search API?

I followed the steps on skvare to index CiviCRM contacts via Search API, then to have Views list the contacts with the search box as an exposed filter. I need to expose a filter that filters results ...
0
votes
2answers
33 views

Custom fields always empty

I followed the steps on skvare to index Civicrm contacts via Search API, then to have Views list the contacts with the search box as an exposed filter. This seems to work overall, but custom Civicrm ...
2
votes
1answer
155 views

How to Add Image Field in CIVICRM

I am trying to add an Image as Custom field in Civicrm Contact, but the Image Field type is not in the Custom Field section. It has only Field type as File. How to apply Drupal Image styles for ...
0
votes
1answer
56 views

How to Associate Drupal content type with CiviCRM groups?

I have created the 10 contents in Drupal. This contents are Article content type and also created the new group(group name: students) in civicrm. Now I want to associate these content with the ...
1
vote
1answer
26 views

I'm using CiviContribute and need CAPTCHA

I'm new to Drupal and CiviCRM. I work mostly with Blackbaud/NetCommunity. I'm operating a website that using CiviContribute for donations. Our Payment Processor is Paypal Payments Pro. I'm trying to ...
1
vote
0answers
19 views

How to make membership optional in Civicrm sign up form?

I am using webform module with Civicrm. I have a registration form. This latter could be used to become member of an organization. However, I would like to make this membership optional. How could I ...
1
vote
0answers
28 views

Menu Tokens module - CiviCRM profiles

I'm trying to use the Token Module to create a menu item that links to the user overlay in Drupal so that users can find their CiviCRM profiles easily. So it should be going to something like: /user/...
1
vote
2answers
36 views

Access CiviCRM event fees via Drupal Views

I'm trying to access the Regular Fees data inside of Drupal Views 3. I can see the Fee Label but can't see how I pull in Regular Fees? I've looked at Price sets and setting up a relationship but this ...
0
votes
1answer
95 views

View is rendered as “empty” even though the query returns results

I've got a Drupal View that I expect to return some results, but when I look at it (logged in as user 1), the empty result message is displayed. I turned on the setting which tells Views to output SQL ...
1
vote
0answers
11 views

How to allow anon users to select contacts from civi in webform?

I'm using civi and webforms to gather custom data, in this case an application for examination of a student, I have two contact fields; one for the user (student) and another for the examiner. I ...
1
vote
0answers
40 views

CiviCRM on Drupal: Array to string conversion error in BAO setting.php in Display preferences

I'm receiving this error after a fresh install of civicrm-4.4.17 on drupal-7.38. While attempting to go through the configuration checklist I also noticed that the items were not turning green after ...
1
vote
1answer
132 views

Get views contextual filter's argument value in thousand

I have a Civicrm set up in Drupal 7. I am showing Civicrm data using two different views. In one of the view I have set contextual filter to get the contact IDs. From another view I am passing ...
1
vote
0answers
16 views

Is it possible to establish case roles other than client and manager with webform-civicrm integration?

So I have a case definition that besides the client and the case manager, also includes a navigator, referral and provider roles. The webform works great for everything, including establishing the ...
0
votes
2answers
151 views

Redirect, change or replace the “user/register” link

How to redirect, change or replace the "user/register" link to another registration page, such as "civicrm/contribute/transact&reset=1&id=1"? Why? Because our "Drupal users" are (paid) ...
0
votes
2answers
126 views

CSV Feeds import troubles with CiviCRM entity reference field

I'm stumped with this particular Feed import problem. I've got a content type (node) that has an entity reference field that relates it to an number of CiviCRM organization contacts. When you ...
1
vote
1answer
265 views

How to allow anonymous user register Civicrm event without create drupal account

I'm using D7 CiviCRM 4.4.6. I had a civicrm event with profile fields for user to fill in. Anonymous users are allowed to register the event and create civicrm profile. But there is a "Username" ...
0
votes
2answers
92 views

How to assign user with civicrm membership to specific role?

I'm using D7 CiviCRM 4.4.6. There are two roles in my site: authenticated user, member. Those who registered in my site is authenticated user. Only users who have active civicrm membership will ...
1
vote
0answers
150 views

How do I add Webform-CiviCRM tokens into Webform emails?

The following is the HTML from a form I have created using the Webform CiviCRM Integration module. <input class="civicrm-enabled form-text required" type="text" id="edit-submitted-civicrm-1-...
1
vote
0answers
102 views

How can I preview the CiviCRM contribution thank-you page

I want to modify the HTML in the CiviCRM thank you page but I need to see how the page looks on the site before making it public. Is there a preview page or even a live link I can use? Further is ...
0
votes
1answer
42 views

Drupal View of CiviMember troubleshooting

I've created a Drupal View of our current members in CiviMember SELECT civicrm_contact.organization_name AS civicrm_contact_organization_name, civicrm_website.url AS civicrm_website_url FROM {...
3
votes
2answers
24 views

CiviCRM report by address [closed]

Is there a way to pull a CiviCRM report that compiles all donations from matching addresses? Whether or not the people at the matching addresses are formally part of a household -- kind of like the ...
4
votes
1answer
1k views

What causes the 'DB Error: unknown error' after adding custom fields to a report in CiviCRM?

I have one particular set of custom fields made up of plain text fields and rich text fields. But if I try to add any of them to a report for display, the following error is returned: DB Error: ...
6
votes
1answer
511 views

How to register multiple member in one civicrm membership sign up form?

I have a special promotion price set for member: Register 1 new member is USD 500, register 2 new members in one-time is USD 800. In my membership sign up form (created using contribution page), I ...
1
vote
2answers
193 views

How to apply Panels layouts for CiviCRM pages

For CiviCRM pages Events and Contributions that has paths of e.g. www.site.com/civicrm/contribute/transact?reset=1&id=1 www.site.com/civicrm/event/register?id=23&reset=1 And so on. Problem ...
0
votes
1answer
399 views

Creating a Drupal user with user_save doesn't automatically join an existing CiviCRM contact record

I have a custom module that will create a Drupal user programmatically using user_save as follows: //set up the user fields $fields = array( 'mail' => $email, 'pass' => $password, ...
3
votes
1answer
119 views

Webform2pdf and CiviCRM fields: pdf empty

I have a Drupal website with CiviCRM. I created a webform and installed webform2pdf to create a pdf and CiviCRM integration module to add CiviCRM fields to my webform. After submission the webform ...
1
vote
2answers
63 views

Add user note in CiviCRM on behalf membership page

I have a CiviCRM contribution page form that is : on behalf of an organisation (required) used for becoming a member I need to add the possibility for the member to add a comment on the subscription ...
6
votes
2answers
353 views

How to Configure WebForm to Allow Users to Choose Which CiviCRM Campaign to Contribute to?

Our non-profit currently has a basic donation page via a CiviCRM Contribution page. We would like to add the ability for the user to select which campaign the contribution is directed to. The Webform ...
2
votes
1answer
202 views

How to show contact profile and membership details in one Civicrm report?

I had a new profile called "Registration details" for contacts, and the profile fields can be edited in account page. In my contribution page, membership form is enabled as a sign up form for my ...
3
votes
1answer
359 views

How to ensure CiviCRM checksum / cid are valid in custom Drupal module

Follow up to an earlier question: I am writing a simple custom Drupal module to display information about a contact's related organizations (see above for more background if interested). One use ...
2
votes
1answer
139 views

Pulling CiviCRM data into a custom Drupal module based on checksum/hash link

I have a CiviCRM contribution page that allows an individual to renew a membership on behalf of an organization. When we email them from CiviMail with a checksum link to the page, it will prefill ...
0
votes
2answers
300 views

How Do I Disable CiviCRM locally if I don't need it?

I'm working on a Drupal 7 site build and I have a local development environment. The site has CiviCRM working with it, but I'm not doing any work related to CiviCRM so I'd like to just have it ...
0
votes
0answers
57 views

Create a list of CiviCRM newsletters group by CiviCRM group

I have created a drupal view based on CiviCRM Mailing. I tried to display the recipient group(s) but it's seems to be neither in the field list, neither in the relationships. Each CiviCRM Group ...