Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [extension]

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

0
votes
1answer
24 views

Error on enabling CiviMobileAPI extension

After installing the extension CiviMobileAPI, I am getting the below error when I access the contacts page. Can you please have a look and support. Warning: Invalid argument supplied for foreach() in ...
0
votes
0answers
18 views

Synchronizing contacts and groups from CiviCRM to Outlook

Hope to get the solution of this issue (https://github.com/veda-consulting/uk.co.vedaconsulting.outlookapi/issues/65) The problem: In CiviCRM 5.12.0, I use OutlookForCiviCRM plugin and the civicrm ...
0
votes
1answer
26 views

Problems Upgrading Mosaico 2.0 to 2.1

Mosaico 2.1 has just been released. When I tried to upgrade from Mosaico 2.0 to 2.1 I got several errors as follows: Unable to remove directory /sites/default/files/civicrm/ext/uk.co.vedaconsulting....
4
votes
1answer
30 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
32 views

Insert and Get New ID in Extension

Within a new extension, in a form's postProcess function, I am inserting into a non-Civi table (separate mysql database/table). What is the proper way to execute a MySQL insert statement and retrieve ...
1
vote
0answers
9 views

CiviCalendar shows nothing on Wordpress deployment

I do not see any information on my Civicalendar. When enabling backtrace and debugging I am thrown this error when the extension tries to get the JSON error: Database Error Code: You have an error in ...
4
votes
1answer
21 views

How to show help_text on buildQuickForm elements

I'm using buildQuickForm in an extension to allow editing of some custom settings. It's working well, but when I created the custom settings there was a field called, "help_text". I can't seem to ...
0
votes
0answers
13 views

Conflict with Accessible Keyboard Menus

I'm in Wordpress 5.2 and the Civi menus disappeared. I brought up my inspector and isolated the problem to Keyboard Accessible Menus (KAM). The fallout there is that CiviTutorial and Recent Items Menu ...
1
vote
1answer
27 views

Is CiviPostcode dead?

I've tried to sign up for CiviPostcode last week, and was expecting an email to verify my account after signing up. This didn't appear, so signed up again with a different address, but still no ...
0
votes
1answer
42 views

How can I update the CiviMobile 2.0 extension to the CiviMobileAPI 3.0 extension?

I had v2 of the CiviMobile extension installed on a WP/Civi site for testing to see how the mobile app would perform. I see that a new version of the app and the extension has been released, so tried ...
0
votes
1answer
16 views

Creating a custom Form: Action (view vs update)

I'm building my first extension, and have created the sample quickform using civix generate:form. So far, so good, the form shows and works within a modal popup. I've noticed with Core forms (like ...
3
votes
0answers
17 views

Still having problems with GDPR T&C in Contributions

Our provider has applied the latest patch (issue #198) to Veda Consulting's GDPR extensions (V2.7) in an effort to get the T&C's working correctly on Events and Contributions. It seems to have ...
0
votes
1answer
23 views

How to get a data for a perticular logged in user ( through API)?

I gave an ACL role to users for data segregation. I want to fetch data from database but data must filter i.e. ACL. How to get data. Also I want a userkey and sitekey?
0
votes
1answer
27 views

Mosaico extension uses

Is anyone using Mosaico for designing a newsletter? Is it easy to use? Can you send a newsletter directly through mass mail? I would appreciate any comments. Thank you.
1
vote
1answer
21 views

Is it possible to find out who installed an extension update?

One of my clients had the API v4 extension updated to 4.3.0 last evening, and so today the contact summary screen was broken - because the API extension isn't compatible with the contact summary ...
1
vote
1answer
25 views

CiviVolunteer will not install or uninstall

So we are playing around with extensions that might help us, and tried to install civivolunteer. It is on my extension list, and the option is to "install". When I click this I get an error about ...
0
votes
1answer
21 views

How to set a permission using drupal ACL?

I am developing an extension. I want to provide permissions using drupal. I am using following hook for creating a permission hook_civicrm_permission(&$permissions); But, how to do that (means ...
0
votes
1answer
32 views

Extension install failed, now cant get the functions to work or reinstall successfully. How to fix please?

I am on CiviCRM 4.7, Php 5.6, drupal 7. When installing GDPR extension, it failed. After that whenever I try to uninstall and reinstall, CiviCRM shows error "Found Name, activity_type, ...
4
votes
1answer
71 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 ...
0
votes
1answer
21 views

Getting problem while installing of my extension

I was trying to install my created extension. First time it worked. After I was trying to install then it shows me the following error.[I am working on windows and Linux platform. But this problem ...
1
vote
1answer
25 views

Adding Image using javascript

I am trying to insert a new image using an extension and I am put that image into images directory (under the extension directory); CRM.$(function($){ cj("#civicrm-menu").prepend('<li class="...
2
votes
0answers
24 views

How to use Laravel framework for building CiviCRM extension?

I am building a CiviCRM extension using civix build tool. I want to use laravel in my extension. How to use laravel framework in my project?
0
votes
1answer
28 views

civix civicrm:ping error [Exception] Failed to locate civicrm.settings.php

I just intstalled CiviCRM buildkit using the instructions here After navigating to the bash with docker-compose exec -u buildkit civicrm bash I try running the command civix civicrm:ping in /src ...
0
votes
2answers
49 views

How to overwrite template file using php?

I want to override predefined template file in my extension.How to do that using php?
1
vote
0answers
19 views

How to use symfony and doctrine 2 framework for building an extension?

I created an extension using core php and CiviCRM tool(civix). I want to use a symfony(framework) and doctrine(ORM). Beacuse ORM provide some methods to store and retrieve methods are there. Symfony ...
1
vote
0answers
17 views

Assigning a php associative array to JS?

I am trying to assign a php array to js. // On the Server: CRM_Core_Resources::singleton()->addVars('myNamespace', array('foo' => 'bar')); // In the JS file or inline script CRM.alert(CRM....
3
votes
2answers
29 views

Extension settings lost on upgrade - known issue?

On a couple of my own extensions and some that are not my own, I've seen that the extension settings go missing immediately upon upgrading the extension. These extensions all define settings metadata ...
1
vote
1answer
28 views

How do I use the CiviCRM “spinner” in an extension?

My extension places a field on a page that loads data via AJAX from the database. The field appears blank until the data is loaded. How can I show the CiviCRM spinning logo if my data isn't loaded ...
2
votes
2answers
56 views

Navigation Menu Lost

I received an update alert in the "Summary Fields" plugin. The Admin Navigation Menu has disappeared after updating. Now I get an error when I tell you to disable the plugin. The problem is that it ...
6
votes
2answers
42 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 ...
4
votes
3answers
45 views

Main menu disappears after updating Summary Fields extension under wordpress

I use latest civi 5.10.0 in Wordpress 5.0.3. Today I was warned to update Summary Fields to 4.0.0 version. After update the main menu disappeared from my civi installation. The Cleanup Caches and ...
0
votes
0answers
25 views

I have installed eventcalendar extension in civicrm

I am following the steps provided in the Readme as given in the link below. Introduction ------------ Event Calendar Extension allows you to view all CiviCRM events in a Calendar by month,day,...
1
vote
0answers
23 views

How to custom a predefined template file?

I want to add a button into the activity edit tab. Please refer an image. Please provide a sample snippet (Code) for custom template My Snippet CRM .$(function($) { console.log('Form ...
1
vote
0answers
65 views

Uninstall link on extension page not working after upgrading from civicrm 4.7 to 5.9

We have a Drupal 7 website which is migrated from another drupal 7 site to make a copy of it. On the new site CiviCRM was updated from civicrm 4.7.17 to civicrm 5.9.1. There are some civicrm ...
1
vote
1answer
17 views

How to add a radio button with the help of buildQuickForm()

Showing data in the form of radio buttons. Data $data[$count++] = array(dao->id,dao->names); Above code return an array of id and names which is retrieved from database. I want to put this ...
1
vote
2answers
35 views

Civi 5.9 not serving extension javascript in WP 5

TLDR EDIT: Civi getURL generated <site>/civicrm/<resourcepath>?r=<key> doesn't serve <site>/<resourcepath> Should the file be coming from civi with a key or not go ...
3
votes
1answer
34 views

How to set a id attribute to button?

I am creating a button using php pear. Button (php code) $this->addButtons(array( /** * Array for 'next' button */ array( 'type' => 'next', 'name' => E::ts('Next'), ...
1
vote
1answer
25 views

How to fetch perticular column data of table?

Currently I am using API for fetch the data. I am creating an extension. I want to fetch the particular column's data from the table. How will I get the data? //getting id and name public static ...
0
votes
1answer
28 views

Assign a group from logged in user contact group to new individual

I am trying to assign a group from currently logged in user(One group in assigned only) to a newly created individual. function search_civicrm_post($op, $objectName, $objectId, &$objectRef){ { $...
0
votes
1answer
13 views

Getting problem while getting group id of current logged in user

I am trying to get a group id of currently logged in user function search_civicrm_preProcess($formName, &$form) { $getContactId = (int) CRM_Core_Session::singleton()->getLoggedInContactID(...
2
votes
1answer
17 views

Sync between different Civicrm dbs

We are looking for a way for multiple branches of our organization to maintain separate CiviCRM installs while syncing a particular group of contacts with each other. WE thought of using Mailchimp to ...
0
votes
2answers
48 views

How to add a values (html select) to custom field?

I am creating an extension. I created a custom group and custom field. The data and input field type is alphanumeric and select. I want to add multiple choice option into that custom field using an ...
0
votes
1answer
19 views

creating a custom group and and field using extension

I am trying to create a custom group and custom field using extension. I created seperate funtion function custom_group_create_example() { $params = array( 'title' => 'Test_Group_1', '...
1
vote
0answers
54 views

PHP Missing Extension “mcrypt” in Joomla

In my panel civicrm display mistake: "PHP Missing Extension "mcrypt". I am add screen with this post. In screen show this mistake. Pleas help me to fix this bug. PHP Missing Extension mcrypt joomla
4
votes
3answers
66 views

How to manually trigger update hook for an extension?

Question: When upgrading an extension from the UI on Site A it will update the files and run the update hook. How do I manually execute the update hook for the extension on the other Site B, C, etc? ...
2
votes
1answer
70 views

Why won't CRM.loadForm render url containing civicrm/a/#?

This call: CRM.loadForm(CRM.url('civicrm/a/#/tournament')); works very well for any url that does NOT contain 'civicrm/a/#'. As soon as I try to open anything from an extension, the popup stays '...
1
vote
1answer
17 views

Cannot see installed extension

Hello I using drupal 7 and civicrm 5.6.1 I am trying to use Postcode Lookup for Webform https://github.com/compucorp/webform_civicrm_postcode/blob/master/README.md But I cannot see the extension ...
1
vote
0answers
39 views

Transactional Mail Extension Problem

I installed the Transactional Mail Extension and after adjusting a needed Drupal CiviMail permission got it working. After testing, I deleted the Transactional Mail pseudo mailing, to start fresh, ...
2
votes
1answer
17 views

Development on a plugin - How to transfer values

I have created a new plugin structure using civix. It has created the elements I wanted in the database. I have used dogregistry_civicrm_tabset to add a tab to my contacts pages. I used civix to ...
1
vote
2answers
29 views

How to add custom field using API?

I want to add a custom field use for activities (meeting)? I did that using administrator -> customize data and screen -> custom fields How can I achieve it by API 3.