Questions tagged [extension]

CiviCRM Extensions are packaged pieces of functionality that extend CiviCRM's out-of-the-box functionality, independent of the CMS platform.

Filter by
Sorted by
Tagged with
11
votes
2answers
2k views

What are the different cache clearing mechanisms relevant when developing?

When doing developpment, i sometimes found it difficult to clear all the cache in a way i'm sure everything i have done is taken into account. Let's take some examples : in an extension, i do an ...
11
votes
2answers
92 views

How to communicate with the users of an extension?

We are discussing about which version(s) to maintain compatibility with, and would like to be able to discuss that with the users of that extension. Is there an easy way to do that? Eg. civicrm.org ...
10
votes
3answers
241 views

Do CiviCRM Extensions Cost Anything?

Do the CiviCRM extensions cost money or are they free? Sorry, very new to all of this. Trying to compare open source with something like Salesforce. So with Salesforce they have a kind of app ...
10
votes
3answers
217 views

How to disable “From email address” for unauthorized users?

If we define "From email address" then any user can use any of these addresses to send an email through the CiviCRM. Is there any way to disable the selection of these addresses for specific roles?
9
votes
1answer
292 views

How to develop extension that relies on libs brought in by composer

I'm wanting to (re)develop an extension and I'd like to use some 3rd party libraries, eg. guzzle, that I would normally manage via composer. So my github repo will contain a composer.json file, but ...
9
votes
1answer
85 views

How do I modify the new 4.6 CiviMail form?

I am the author of a CiviCRM extension that needs to disable, depending on configuration, the URL tracking and open tracking checkboxes of the mailing form. In version 4.4 this was accomplished using ...
9
votes
0answers
111 views

Can anybody volunteer to test my Android App: Cividroid - A CiviCRM companion on Android!? [closed]

I am working on an Android App for CiviCRM: Cividroid - A CiviCRM companion on Android! as a GSoC 2015 project. I am not a regular CiviCRM user and hence I don't have a live environment to test the ...
8
votes
3answers
715 views

Way to automatically install extensions?

Is there a way to automatically install and enable CiviCRM extensions? Is it possible to do this via drush on a Drupal install for example? Or is use if the UI required?
8
votes
4answers
194 views

How do I add a new settings page for my extension?

I am trying to develop a module extension which needs to store some settings, I went through the documentation and found this to be the way to create settings. Now when I put default as NULL the ...
8
votes
1answer
560 views

How to print variable/debug data from your extension.php?

I am trying to add a menu entry in the navigation, but this is causing the navigation menu to disappear, I am trying to debug the code but could not find any particular file. I have checked the ...
8
votes
0answers
256 views

How can I customize the User Dashboard (Frontend)

I am working on 4.7 on Wordpress 4.6 and I trying to customize the User Dashboard in the Frontend shown for the request myURL.com/civicrm/?page=CiviCRM&q=civicrm%2Fuser&reset=1. First I ...
7
votes
4answers
321 views

Simple, consistent N. Am. phone validation/reformatting everywhere?

If we want to put in some validation and reformatting for phone numbers to make sure they conform to N. Am. standard for 10 digit numbers, is there a simple way to catch this for everywhere a phone ...
7
votes
2answers
216 views

Find CiviCRM version programmatically?

Within a CiviCRM extension, what's the best way to determine the current CiviCRM version in versions 4.6.x and above?
7
votes
2answers
77 views

What is the review process for automatic distribution of Extensions?

Some extensions are eligible for being distributed automatically, which means that you can add them via the CiviCRM UI. This page lists the criteria that needs to be meet for automated distribution ...
7
votes
6answers
140 views

Which Extensions are you using with 4.7 which do not yet state they have a 4.7 release

Not sure if this is a valid question for SE, but I thought it as good a place as any to try and assess what Extensions people are successfully using with 4.7.x even where the extension does not state ...
7
votes
2answers
530 views

How to automatically generate DAO classes for my DB tables

I have about 22 DB tables for my extension and more are coming in as I work on the extension, I need to be able to automatically generate the DAO and BAO files to access these tables from my code, I ...
7
votes
1answer
78 views

Re: CiviCRM contribs/extensions - any scripting language limitation?

Not an issue or bug, but a question for admins of CiviCRM - is it acceptable to use Python for part of a new extension (instead of PHP) or is that expecting too much, since that means asking users to ...
6
votes
2answers
3k views

How do I set up an API key for a user?

The current documentation for creating an API key for user is on the wiki at https://wiki.civicrm.org/confluence/display/CRMDOC/REST+interface#RESTinterface-CreatingAPIkeysforusers. Unfortunately ...
6
votes
2answers
82 views

How can I determine if an extension is compatible with a new Civi version?

What is the best way to determine whether an extension is likely to be compatible with a contemporary Civi version rather than just not updated to reflect as much?
6
votes
3answers
304 views

CiviRules and CiviCRM 4.7

For those that are using CiviRules, what has your testing on CiviCRM 4.7.x shown? Is this something that is showing major issues, minor issues, seems to fine? Having never used CiviRules, I've got ...
6
votes
1answer
46 views

Can numeric version naming conventions for CiviCRM extensions use the Drupal module naming conventions?

I like the numeric naming conventions for Drupal modules - Drupal version number then module version number. For Drupal version 6 modules, it follows something like 6.x-2.1, for example. For Drupal ...
6
votes
3answers
77 views

Mailchimp extension limits to most recent 25 lists

We have a Civi user connected to Mailchimp who has quite a few lists - from our testing (Mailchimp v 1.6, Civi v 4.4.6) the extension appears only to access the 25 most recent lists in Mailchimp. How ...
6
votes
2answers
51 views

Can my extension know when other extensions become enabled or disabled?

My extension makes reports based on the Civisualize extension. I'd like to make dashlets out of the reports, but I only want it to be available when Civisualize is also enabled. It's easy to see if ...
6
votes
2answers
48 views

What is the best way to raise awareness of a extension upgrade that breaks core fuctionality, e.g. all the menus went away?

On Friday one of the extensions, summaryfields popped up showing there is an upgrade available. Well, for many, this upgrade causes all the civi menus to go away. So while people should never ever ...
6
votes
1answer
140 views

Different default status for different activity types?

Wondering how to do this, it clearly would need an extension (or, as I have done for other things, a Drupal module) but just looking for any tips really. I would like to be able to specify a default ...
6
votes
1answer
107 views

Moving Angular extension into /ang/

I'm attempting to move code from an angular extension into core. I've created an ang/crmModuleName and moved the ctrl and partials into it, and crmModuleName.css into the ang/ and crmModuleName.js ...
5
votes
5answers
174 views

Do volunteers have to be associated with an event?

I can see volunteers related to event management, but what about managing volunteers for organization roles like marketing, accounting, etc. ? Perhaps there is a hack to create a dummy event, but ...
5
votes
3answers
166 views

Best practice for dealing with electoral district / constituency?

I'm new to the forum, so let me know if I should ask elsewhere. We are a campaigning organisation and much of our campaigning is based on electoral consituency, but I'm not sure how best to capture ...
5
votes
3answers
515 views

How to install a not listed Extension?

I want to install extensions which are not listed in the "Add Neww" directory, such as : de.systopia.osm-1.2 net.ourpowerbase.exportpermission-master I copied those (from their Git source) to my ...
5
votes
3answers
195 views

Scanning business cards to CiviCRM

Anyone working on creating an app to scan a business card and have that information transfer to CiviCRM? Or ideas for how to create this? Thank you.
5
votes
4answers
313 views

Why is it important to define new Entities for new types of data?

The Developer Guide includes detailed instructions on declaring a new entity which begins with this: If you want your extension to store data in the database, then you will need to create a new ...
5
votes
2answers
377 views

Using hooks — simple please

I am excited to be working with civicrm, but I am quite frustrated at this point and so I hope someone can help me. I can see how valuable hooks are, and it seems like they are actually very basic to ...
5
votes
3answers
734 views

Unable to install extensions: HTTP redirection error

I'm unable to install CiviCRM extensions from CiviCRM » Administer CiviCRM. On the CiviCRM extensions page I get the following error: WARNING: The downloader may be unable to download files which ...
5
votes
2answers
90 views

I hacked core and know I shouldn't (How do I use hook_civicrm_batchItems?)

I need to adjust the CSV accounting batch export format for our accounting software. The CSV needs to be only four columns: Envelope number (a custom field which corresponds to our accounting ...
5
votes
2answers
293 views

Shoreditch looks different in wordpress

The contact screen in shoreditch on wordpress looks like this; Different from the screens i find on the extension page. Is there a reason, or am I doing something wrong?
5
votes
2answers
127 views

Idea for extension Someone Else Pays - any feedback?

We are thinking about creating a native CiviCRM extension Someone Else Pays. In CiviCRM you could use the soft credits (with a new soft credit type) to register another contact pay for an event ...
5
votes
2answers
89 views

AGPL: Should sites provide public download links for CiviCRM extensions?

I guess this question has a few parts: Are CiviCRM extensions are considered to be modifications of CiviCRM? Are custom file overrides considered to be modifications of CiviCRM? If so, then under ...
5
votes
1answer
164 views

How do I install an extension directly from git?

Now that I have found my extension directory, is installing an experimental (or developmental) extension as simple as cloning it into there? eg: # find extension directory DIR=$(cv ev --out=pretty '...
5
votes
1answer
143 views

What is the mechanism for tailoring an Angular form?

I want to modify the behaviour of an Angular form. The answer to question 4700 tells me 'how' to do it (add some JavaScript), but I'm interested in 'where' to do it. If it was a PHP form I could use ...
4
votes
3answers
220 views

How to create a hook in an extension?

I want to give others the chance to do something when certain events happen in my extension. So to be clear: I'm not wanting to use existing hooks in my extension, I'm wanting to create a new hook ...
4
votes
3answers
233 views

Why should I use an ~/extensions directory rather than the default ~/ext for new extensions?

It seems like not an uncommon practice - or at least, by two CiviCRM partner shops that I know of :) - to use an ~/extensions directory for adding new extensions, rather than the default ~/ext ...
4
votes
2answers
315 views

What is the root url needed for extension pages?

I've installed the API CSV import GUI extension extension which directs you to "go to the url civicrm/csvimporter/import" to go to the import page, but when I go to Mysite.com/civicrm/csvimporter/...
4
votes
3answers
199 views

Need Legislative District Lookups for CiviCRM/WordPress

I've been using CiviCRM for WordPress for a few months now. We need to be able to populate both state and federal district fields. I found some relevant links. https://civicrm.org/extensions/civicrm-...
4
votes
3answers
602 views

How do I add a custom Activity with custom fields to an extension?

I want to extend my extension with a custom Activity type that has it's own custom fields. The Activity type is not part of a case. I can not find in civix help and in http://wiki.civicrm.org/...
4
votes
1answer
141 views

ContactLayout extension not working with civicrm 5.10

So we are using Drupal 7 and civiCRM 5.10. We want to use this extension https://github.com/civicrm/org.civicrm.contactlayout We have installed angular profiles (4.7.31-1.1.2) and API v4 (4.3.0) as ...
4
votes
2answers
460 views

How can I locate my extension directory?

This question surprised me a bit - but I have no clue about where to locate my extension directory!! Is there a simple way to reliably locate it (either programatically or via the UI)?
4
votes
2answers
296 views

Hook to change the Success message after CiviCRM submits a form?

I'm writing an extension implementing hook_civicrm_post to move contributions from individual to household if the individual is part of a household. However, I'd like the form to either redirect to ...
4
votes
1answer
82 views

CiviCRM menu bar corrupted after installing Shoreditch

I'm trying out the Shoreditch theme (originally for Mosaico, but it's so much more useable I'd prefer to keep it on by default if possible). I see weird white blocks at each end of the CiviCRM menu ...
4
votes
1answer
58 views

Extensions for 5.0+

I am trying to understand the ramifications of updating to CiviCRM 5.0. Will extensions for 4.7 continue to work in 5.0? Will this continue in the long run? For example iATS, ExtendedReprt, ...
4
votes
2answers
64 views

How do I get the genuine error message

I am trying to reinstall the volunteers extension and am getting an error that isn't clear. Is this my version of PHP or missing PEAR packages that is causing the lack of clarity? Use of undefined ...

1
2 3 4 5
10