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.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
239 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/#/...
Sean's user avatar
  • 3,158
3 votes
0 answers
228 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 ...
Francesco Garganese's user avatar
3 votes
0 answers
97 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 ...
Sean's user avatar
  • 3,158
3 votes
0 answers
35 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 ...
lolcode's user avatar
  • 435
2 votes
3 answers
203 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 ...
Mo-'s user avatar
  • 21
2 votes
0 answers
33 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 ...
artfulrobot's user avatar
  • 3,910
2 votes
0 answers
94 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 ...
fconelli's user avatar
2 votes
0 answers
85 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 ...
Matt's user avatar
  • 121
2 votes
0 answers
44 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 ...
Logan Bear's user avatar
1 vote
0 answers
116 views

Angularjs - Loading form in popup

I've seen some old questions about this with limited response so I'm hoping I get better responses with this question. I have an angular form that grabs a bunch of baseline information, and has a ...
Norm Dressler's user avatar
1 vote
0 answers
22 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 ...
Simon Walden's user avatar
1 vote
0 answers
28 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)....
Norm Dressler's user avatar
1 vote
0 answers
18 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 ...
Sean's user avatar
  • 3,158
1 vote
0 answers
2k 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 ...
Sean's user avatar
  • 3,158
1 vote
0 answers
57 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 ...
nielo's user avatar
  • 1,294
1 vote
0 answers
107 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 ...
John's user avatar
  • 1,922
1 vote
0 answers
66 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/...
yurg's user avatar
  • 1,849
0 votes
0 answers
115 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 ...
Parthibaraj Rajasekar's user avatar
0 votes
0 answers
58 views

How do I change code in DEVELOPER tab?

How do I change the code in Developer tab in CiviCRM reports?
Aivars's user avatar
  • 1,044