Coleman
  • Member for 6 years, 10 months
  • Last seen this week
Search builder does not display date picker for contacts
3 votes

There was a small bug introduced in the last version where the calendar icon didn't show up in search builder date fields, but the actual datepicker still works fine. The screenshots and videos are ...

View answer
Upgrading Custom Extension for PHP 7: How to I instantiate a mysqli data object
Accepted answer
3 votes

CiviCRM has its own database abstraction layer that can handle the escaping for you, so you don't have to use low-level functions like mysqli_real_escape_string. You can use it in 2 ways: ...

View answer
Problem with CiviCase
3 votes

This was a regression which is now being fixed. See https://github.com/civicrm/civicrm-core/pull/12613

View answer
How can I make tags in tagsets visible to users who want to tag contacts
3 votes

By design, tagsets are an auto complete drop down. However, there is one thing we could do to improve the usability: make the list open immediately and show the complete list of tags. I don't really ...

View answer
State dropdown empty on form with Drupal webform integration
3 votes

Usually when a javascript element fails to work on your page, it's caused by a general javascript failure on your website. This can be caused by incompatible plugins or themes, etc. So the problem may ...

View answer
opt-in to receive updates
Accepted answer
3 votes

Sounds like you have an unusual use-case where you are in the habit of sending emails to every contact in your database. More typical uses of CiviCRM involve sending mailings to one or more groups of ...

View answer
No cron runs have been recorded (CiviCRM 4.7.25 on Wordpress 4.8?)
3 votes

From your second image, I see that you have not yet set up cron for CiviCRM. The first entry in your crontab executes the Wordpress job. A second entry is needed to execute the CiviCRM job. Here are ...

View answer
How can I add a tag to a tag set?
Accepted answer
3 votes

You may be right that this is a bug in 4.7.16. Fortunately it has been solved in 4.7.17. This release includes a redesigned tag management screen with numerous improvements. Update: 4.7.17 has been ...

View answer
What is the best way forward to conduct surveys on an iPad?
3 votes

If the iPads are connected to the internet, then you can create a profile form (or Webform if your site uses Drupal) and they can submit it directly. I'm not aware of an offline app but others may ...

View answer
Is calling the api in a report template 'bad form'?
Accepted answer
3 votes

This will result in one api call per row, which can add up to a lot of queries on the db. A lighter-weight solution would be do do a single api call before the loop to look up all location types and ...

View answer
How can I resolve Civi Dashboard Javascript error: widget.name is null?
3 votes

I'm glad you found the cause of your problem. It does sound like something went wrong back when you originally created those dashlets, and it's not clear what that was. But it would be good to ...

View answer
Smarty and future proof code
Accepted answer
3 votes

Going forward, much of the Civi UI will be written in Angular. However at least 95% of the application uses Smarty and it's still a perfectly acceptable way to mark up a form or page. Depending on ...

View answer
Understanding unique vs multiple membership(s) (using Webform)
3 votes

The Webform integration determines whether to add or update a membership based on the "Membership Organization" of the membership type. Say you have the following membership types defined: ...

View answer
private or protected class properties
Accepted answer
3 votes

I think submitting a PR to make this variable protected would be perfectly reasonable. Alternatively, there is a way to access private properties in PHP for the sake of unit testing via Reflection. ...

View answer
best practice for using core base functions (CRM_Utils_System_Base) from an extension?
Accepted answer
3 votes

This base class is not intended to be used by itself, but extended based on the CMS. CiviCRM will automatically give you an instance of the correct object which extends this base class. You can access ...

View answer
Is there a recipe for converting fields to select2?
3 votes

In general, a field can be made into select2 simply by adding the css class "crm-select2" to it. Here is a PR to add it to the existing location field you mentioned. Please try it out and leave a ...

View answer
Contact Image Size
Accepted answer
3 votes

The contact summary screen should automatically limit the image size to a maximum of 100px. If this is not working correctly you could add this to your site's css file: .crm-contact_image img { ...

View answer
How do I use custom fields in Drupal views?
3 votes

If drupal and civicrm are sharing a database, then this will work without any further configuration. But if you have civicrm in a separate database, there is an extra step: Every time you create a ...

View answer
Disable select2 in drupal
3 votes

The easiest way to do this would probably be to add a teeny script to the page footer of your webform that does: CRM.$.fn.crmSelect2 = function(){};

View answer
Format Contribution Form Using Pricesets
3 votes

For a short-term solution, consider adding some css to your page that fixes the styling. For the medium-term, check out issue CRM-15067 which aims to solve this problem.

View answer
Selecting multiple radio buttons
3 votes

Setting up your custom checkbox field is fairly simple. See the chapter on Creating Custom Fields. Yes you can create reports that filter based on multiple values in a custom field:

View answer
Is it possible to force user log out if idle for a defined time?
3 votes

This is really a Drupal question, since Drupal handles user login/logout and not CiviCRM. I suggest you ask at https://drupal.stackexchange.com/

View answer
Webform Submission URL Access Control
3 votes

I think you need to grant the Webform: Edit own content permission. This may still not give access to view the submission (haven't tried) but it would give the user access to edit their submission, ...

View answer
What are ways to make CiviCRM more user-friendly for people who prefer spreadsheets?
3 votes

There is a "slickgrid" integration module developed by Eileen, which allows spreadsheet-like data entry for CiviCRM: https://github.com/eileenmcnaughton/nz.co.fuzion.slickgrid

View answer
How to delete/reorder a Contact from a Webform
3 votes

Sorry, the module does not have any mechanism for reordering contacts. The only solution is to reconfigure the contacts manually. Since you are wanting to add a new contact #1 and get rid of contact #...

View answer
Civicrm Removing AngularJS url
Accepted answer
3 votes

I don't think that is possible, but not for the reason you think. The problem is not whether or not the link gets rendered correctly, the problem is that AngularJS expects to launch a single-page-app, ...

View answer
Displaying long CiviCRM multi select fields in a Drupal Webform
3 votes

I've written a small module that allows you to use the select2 widget on your webforms: https://github.com/colemanw/webform_select2 Enjoy!

View answer
profile email notifications: can CiviCRM indicate what information has changed?
3 votes

I think what you want is Logging. In the Civi menu, go to Administer > System Settings > Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) Enable logging, and from then on all changes to contact ...

View answer
Tokens in civicrm webform - not showing contact
Accepted answer
3 votes

I suspect those tokens are coming from another module (possibly CiviCRM itself). I never added any token support to webform_civicrm. That said, the best way to achieve your goal is probably to use the ...

View answer
Drupal's Aggregate Javascript breaks CKEditor Config
Accepted answer
3 votes

You're right, that was a bug. I poked around and found a spot for the js that doesn't break under aggregation: https://github.com/civicrm/civicrm-core/pull/7711

View answer
1
3 4
5
6 7
17