Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes

Are there Spreadsheets (samples) with Google Apps script to work with CiviCRM?

Here's an example. We have a WP-hosted Civi install using the v3 API. This pulls contact records from some smart groups and dumps the entries as a table in a google sheet. Other pages on that sheet ...
cfritze64's user avatar
3 votes

help with creating new summary field

I think the following will provide you the average on sumfield extension (SELECT COALESCE(SUM(total_amount), 0) / NULLIF(COUNT(*), 0) FROM civicrm_contribution t1 WHERE t1.contact_id = NEW.contact_id ...
jitendra - fuzion's user avatar
3 votes

CiviCRM Search page results - Custom template

It depends which searches you are talking about, but you can configure a Profile for displaying contact search results at Administer > Customize Data & Screens > Search Preferences > ...
Aidan's user avatar
  • 13.5k
3 votes
Accepted

How to change what fields show as columns in the Search display screen

If you mean to display the search result columns to display custom fields, than you can create a profile to include all the fields to include as column(check the result column checkbox while adding ...
Pradeep Nayak's user avatar
3 votes

How to add extended reports blocks to Contact Layout Editor

Solution: Once the ExtendedReport extension has been added, there will be additional reports shown in the CiviReports section. To be able to use one of these as a block, go to Administer -> ...
user8292's user avatar
  • 111
3 votes
Accepted

Change count in Custom Tab with table according to filtered data

I assume you used a tabset hook to adapt the tab on the contact page. That is where you can influence the count as you can see here: $tabs[] = [ 'id' => "mediweattestbeheer", '...
ErikH - CiviCooP's user avatar
2 votes
Accepted

Can't create quickform via CRM_Core_Form in my custom extension

Maybe it is not connected to your issue, but if you implement a form, it supposed to be inside a Form directory, and the class name should follow this (has to contain _Form_). In your case the class ...
akosgarai's user avatar
  • 283
2 votes

Services from core contrib modules missing!!!! "The service xxxx has a dependency on a non-existent service xxx. " (with solution)

A contractor had added a directory called "webform" to modules/custom to add some custom configurations to webform. Which worked fine after updating webform module, until you cleared cache. Then ...
Neil Davis's user avatar
2 votes
Accepted

File type custom field to only allow images

You can use validateForm in an extension to restrict it. You can also vote for this ticket: https://lab.civicrm.org/dev/core/-/issues/2410
Demerit's user avatar
  • 23.2k
2 votes
Accepted

CSV Download from a custom pop up

I hope I'm not barking up the wrong tree, but could you pawsibly try SearchKit? It's a doggone helpful tool that can render your table without any of that custom Smarty code (which can be ruff to ...
Coleman's user avatar
  • 18.7k
2 votes

help with creating new summary field

I am adding this as an Answer which does not answer your request foa Summary Field solution, but it was v quick to put together via SK in case it is of help to others. SK based on Contact 'with ...
petednz - fuzion's user avatar
  • 28.3k
2 votes

How to create new custom page in civicrm?

Would suggest to use CiviCRM message template functionality instead building your own one.
Pradeep Nayak's user avatar
2 votes
Accepted

How do i create a custom page size using backdrop

If you go to Administer - System Settings - Options Groups - Paper Size, you can add a new paper size based on the format for existing options. Then you can go to Administer - Communications - Label ...
Lars SG's user avatar
  • 4,073
1 vote

SearchKit - Can't figure this out - works until I add a second join

The solution is that after updating your schema xml files, you need to run the command civix generate:entity-boilerplate. This will update your generated DAO files so that SearchKit can use the ...
Coleman's user avatar
  • 18.7k
1 vote

Unsure how to install Open Sans font

It is easy if you have developer skills as you will need to Add the fonts ttf files on the server clone the mosaic template Include the font in the template HTH Pradeep
Pradeep Nayak's user avatar
1 vote

Custom logic for fields

I think you'll want to add a small extension that does this. So, you could add a custom field for this unique ID to memberships. Then you can set a hook_civicrm_postCommit for when a new membership is ...
Lars SG's user avatar
  • 4,073
1 vote

Why is the custom field "Link" type not displaying as a link?

In edit mode it's an input field. In view mode on the contact summary it is a clickable link.
Demerit's user avatar
  • 23.2k
1 vote

How to add an action in the contacts list action drop down menu

Welcome Bruno. You would have to modify the action menu functionnality. Have you looked into the dev documentation?
Guillaume Sorel's user avatar
1 vote
Accepted

CRM.loadForm into div without popup

In the end I use popup to copy content from it and put it to div and it works just fine. All javascript in form works. I use 2s timeout, because .on('crmFormSuccess', function(event, data) {}); did ...
vitius's user avatar
  • 53
1 vote
Accepted

How can I add a link in main menu to view own contact summary?

One way to do this is: Create an extension. Make up a url like civicrm/mymenu/contactrecord. Create a page for your extension that uses your url, e.g. civix generate:page MyPage civicrm/mymenu/...
Demerit's user avatar
  • 23.2k
1 vote

Importing contacts into Civicrm

These are all valid options! I never use a custom field for this; I use tags or the contact source field. The "external identifier" field is often useful for this - I'll tag contacts from ...
Jon G - Megaphone Tech's user avatar

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