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
13 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 ...
2
votes
0answers
13 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
20 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
23 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
20 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
19 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
14 views

How to set a permission using drupal ALC?

I am developing a extension. I want to provide a 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
30 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
58 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
0answers
15 views

CiviCalender is not working for CiviCRM v5.10

I installed CiviCRM v5.10 and civicalendar But it is not showing me activities on the calendar. It is working on CiviCRM v5.8.
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
24 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
23 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
23 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
48 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
26 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
40 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
41 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
40 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
20 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
21 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
62 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
32 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
31 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
22 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
26 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
12 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
16 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
39 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
14 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
46 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
58 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
64 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
35 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
28 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.
1
vote
1answer
22 views

Does Contact Editor Extension work with Version 5.6.1?

I just upgraded to version 5.6.1 from 5.3.1. I tried using the contact editor extension to change a contact type but when I select "Change Contact Type" it take me to the CiviCRM homepage. I use ...
4
votes
1answer
49 views

Blocking Double Click on Form Submit Button

I have a pop-up that loads a form. Currently the user can double click the submit button on the form which results in multiple submissions. This can cause some serious issues depending on the purpose ...
2
votes
1answer
102 views

CiviMobile: Can't log into CiviCRM using CiviMobile

I installed: CiviMobile extension in CiviCRM; CiviMobile app on Android. When I try to login using mobile browser, CiviCRM works. Loging in with same credentials in CiviMobile app does not work, it ...
1
vote
1answer
26 views

Extended Reports Extension - reports do not appear

I have installed the Extended Reports Extension, but cannot see any reports, or any configuration options related to them. Where should I be looking? I have tried on two installations with the same ...
-1
votes
1answer
32 views

Is there any paid extension or all are free?

All extensions are free or I have to pay a money for that. I am creating a extension then how will I get the money?
0
votes
3answers
36 views

Any extension for customize the dashboard

I want a extension that can change the dashboard layout and configure as per requirement.
0
votes
1answer
33 views

How to create extension using phpStorm 2018.2.5

I want to create an simple extension.How can I do that using phpStorm? Please guide me with steps.
1
vote
1answer
106 views

Civicrm Development (Coding) Environment Virtual Machine

Is there a VM available for quickly and painlessly getting started with CiviCRM extension development (Wordpress) on Windows? Something that has buildkit installed. I just want to be able to get into ...
4
votes
1answer
18 views

Which directories in an extension get scanned by CiviStrings

CiviStrings is a cli tool that scans an extension for translatable strings and generates a .pot file. According to the readme, It scans PHP, Smarty, JS, and partial HTML files for references to the ...