Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [civicrm]

CiviCRM helps organizations grow and sustain strong relationships over time.

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
29 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
16 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
28 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
38 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
20 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
140 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
0answers
38 views

Set default event in civicrm webform with hook_form_alter

I'm trying to set default event with hook_alter_form, but is not working Seems that in the options values have a prepend, i tried with and without function xxxx_form_alter(&$form, &$...
0
votes
1answer
24 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
65 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
27 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
527 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 ...
0
votes
2answers
381 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
751 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
59 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
32 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
137 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
53 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
25 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
votes
0answers
94 views

views_query_alter AND operator and mysterious “if $field is a string you have to use 'formula' here.” at api.drupal.org

Trying to create custom exposed filter for Views3, which uses data from CiviCRM database. There are CiviCRM Tags attached to each "user" ("Contact" in terms of CiviCRM). The goal is to provide "search ...
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
35 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
85 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
38 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
123 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
147 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
123 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
259 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
90 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
143 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
97 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
22 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
497 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
188 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
395 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
118 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
62 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
341 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
201 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
345 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
137 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
292 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 ...
1
vote
0answers
148 views

Webform CiviCRM Contribution Fails

I've got a webform set-up to integrate with CiviCRM using the Drupal Webform CiviCRM module. The pay later option is working, and the checksum populating the fields. But the contribution always ...
5
votes
1answer
79 views

Migration issue: Drupal markup isn't rendered on CiviCRM pages

I've moved a Drupal 6 / CiviCRM 4.3 site to a development server, and I'm getting really strange behavior. When I visit a Drupal page on the copied site, everything renders as expected. However, when ...