Questions tagged [developer]

A developer is a person with the technical IT skills to change the code base of CiviCRM. Preferably s/he knows about PHP, SQL, HTML and Javascript.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
48 views

Will unsupervised dedupe rules be used in API Contact create?

I want to import an old database using API Contact create. In the de-dupe rule documentation it mentions "They are also used when you Import contacts". I see in the API documentation that there exists ...
3
votes
0answers
170 views

How can I put an AngularJS page inside a crm-popup modal window?

If I add class="crm-popup" to an internal hyperlink in CiviCRM, I can make CiviCRM open the target page inside a modal dialog. Cool! But if the target page is an AngularJS page (e.g. /civicrm/a/#/...
3
votes
0answers
71 views

Should I use implicit annotation for AngularJS dependency injection?

I am learning AngularJS and have read that it supports three different ways to specify dependencies. Their docs say that inline array notation "is the preferred way to annotate application ...
3
votes
0answers
33 views

How can I specify in the spec for a new API that a parameter is an array?

How can I specify in the spec for a new API that a parameter is an array? I looked at the activity api for an example since target contact id is detected as an array in the API explorer. However, my ...
2
votes
3answers
184 views

Adding a contact summary tab

I am completely new to Civicrm and successfully created an extension that modify and existing page{Contact Page} but I am required to create a extension that shows a new CIVICRM Contact Tab that show ...
2
votes
0answers
38 views

Is there any developing activity to integrate Elementor and CiviCRM?

Probably many of you know Elementor, a powerful and high diffused page builder for the WordPress world. Elementor works having widgets, which realize tasks in shaping, db connections and dynamic ...
2
votes
0answers
27 views

How to loop and update BAO objects

I was trying to be down with the cool kids and use DB_Object models for a looped database update. I've found somethning I thought should work, but doesn't so I must be doing/understanding something ...
2
votes
2answers
61 views

Custom field default values at database level, not form level?

When you set a default value for a custom field, it only exists at the form level. Is there a practical way to enforce them at the database level? For instance, by altering the SQL table definition? ...
2
votes
0answers
83 views

Generate new entity in CiviCRM extension

I have same problem mentioned here: How to add a new entity in CiviCRM extension I followed the documentation to generate skeletal files and completed steps 1 - 3. However I get stucked when ...
2
votes
3answers
129 views

How to customise the activities tab listing

I used to hack the Activities BAO to change the search results to make the subject line something more useful; i.e. extract other data from particular activity types and auto-create a summary in place ...
2
votes
0answers
75 views

creating case types with different component than CiviCase for attached activity types

We created an extension for tasks management which define a new civicrm component called CiviTask .. I want to create 4 case types (with attached activity Types set and a standard timeline ) when ...
2
votes
0answers
34 views

Trying to understand CiviAccounts workflow

I've read the CiviAccounts Data Flow document and I'm trying to figure out the order things get done. Here's my situation: My organization collects membership dues at a national level. But part of ...
1
vote
0answers
19 views

Create API not updating database in new extension - what have I missed?

Help, built new extension, form displays, accepts input, but never updates the database The returns I get from all functions do not show errors. What the heck am I doing wrong???? It's going to be ...
1
vote
0answers
23 views

Contact SubTypes and Display Preferences

I'm really trying to utilize the core CiviCRM for my custom purposes by using the tools provided. I need to have a database of dogs with specific custom fields, that are related to an owner (Contact)....
1
vote
0answers
13 views

Which javascript features can I use in CiviCRM core?

Does CiviCRM have an agreed-upon browser version to target for javascript features? For example: Can I use Object.create() (IE 9+)? Can I use 'use strict'; (IE 10+)? Can I use let (IE 11+)? Can I ...
1
vote
0answers
1k views

ngChange event fired twice when using multi-select with crmUiSelect

I'm trying to use CiviCRM's crmUiSelect AngularJS directive to create a select2 element in a form. I want to call a function in my controller when the user changes this element, so I'm using the ...
1
vote
0answers
51 views

When avoiding duplicate relationships why does Civi check for identical custom fields?

Today I realized that our installation holds many individuals without an address. Most of them are employees and correctly related to their employer. So I decided to use the api to let all them share ...
1
vote
0answers
87 views

Replacement for deprecated CRM_Core_OptionGroup::getValue

I noticed that CRM_Core_OptionGroup::getValue is deprecated - though still used fairly extensively in the codebase. It is noted that values are not cached. Presumably the preferred function is ...
1
vote
0answers
51 views

Remove Contact Actions links (hook_civicrm_summaryActions or CRM/Contact/Page/View/Summary.tpl)

What is a correct way of whole Contact Actions menu ( this ones: http://awesomescreenshot.com/0cb5hmnb6e ) disable ? hook_civicrm_summaryActions ( http://wiki.civicrm.org/confluence/display/CRMDOC/...
0
votes
1answer
59 views

How can I setup a Manage Magazine Subscriptions in CiviMember

I'm new to this CiviCRM and it looks great so far. We are looking to using it in out Magazines. But we need the functions as per blog below. How can we do this? thanks. https://civicrm.org/blog/johnd/...
0
votes
0answers
106 views

UML diagram, Use case diagram

I am in need of Use-Case diagram, UML diagrams for CiviCRM. Not because I am very much need of them to use CiviCRM. just to show something in my presentation to my management :) !! . Any pointers ...
0
votes
0answers
50 views

How do I change code in DEVELOPER tab?

How do I change the code in Developer tab in CiviCRM reports?