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
1
vote
1answer
30 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
28 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
46 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
72 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
20 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
21 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
35 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
30 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
107 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
44 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
54 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
1answer
43 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
25 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
72 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
25 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
60 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
42 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
30 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 ...
1
vote
1answer
35 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
19 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
124 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
27 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
87 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
94 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
82 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
18 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
43 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
18 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
36 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
26 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
223 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 ...
3
votes
2answers
261 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
39 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
33 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
46 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
34 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
114 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 ...
3
votes
1answer
26 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 ...
0
votes
1answer
22 views

Problem with Aggregating Households Extension after upgrade to 5.3.1

I had this problem after another upgrade and can't figure out how I solved it! (Posted as an issue at github as well.) Extension installed, Enabled | ver 1.2 and at /home/MYSITEDIR/public_html/sites/...
1
vote
1answer
51 views

The CiviCRM public extensions directory at https://civicrm.org/extdir/ver=5.4.1|cms=WordPress could not be contacted

I'm getting this error pretty regularly lately, specifically after upgrading from 5.4.0 to 5.4.1: The CiviCRM public extensions directory at https://civicrm.org/extdir/ver=5.4.1|cms=WordPress could ...
4
votes
1answer
99 views

Contact Layout Editor menu item not available

I installed the new Contact Layout Editor extension, but I am not finding the new menu item, which should be at Administer / Customize Data and Screens. Joomla 3.8.12 Civi 5.5.1 (Aside: in this ...
1
vote
2answers
44 views

Using CiviCRM for Library Management

Is there a CiviCRM extension for managing a book and video library - or some other library management system which integrates with CiviCRM so it can see the membership status out of CiviCRM (only ...
4
votes
1answer
47 views

Trouble authorizing agileware.civiquickbooks

I have been trying to connect CiviCRM and QuickBooks Online using the extension from Agilware. I have followed the instructions (I think) but can't get past the authorization. I have entered the ...
0
votes
1answer
935 views

LoadForm Popup - Uncaught TypeError: Cannot read property 'split' of undefined

In all of my custom extensions, when I use the loadForm function to load a form (generated with Civix) as a popup, I get the following error: Uncaught TypeError: Cannot read property 'split' of ...
0
votes
1answer
21 views

Settings Definition (How to Use On_Change?)

Settings definitions allows for a field "on_change". Can anyone explain how to use this? I would like to have it execute a function that I have defined in my extension when my quickform is saved. ...
1
vote
3answers
69 views

Prospect Management & Tracking

Are there any extensions which allow for Prospect Management & Tracking? I came across a planned extension called "INTEGRATION WITH DONORSEARCH" but it doesn't look like it has been completed yet, ...
-1
votes
1answer
42 views

MailChimp extension v2.0.1 won't install on CiviCRM 5.3.2

The latest stable release of the MailChimp extension for CiviCRM isn't installing on our Civi 5.3.2 via the Civi internal extension installer. Admin interface displays Sorry, due to an error, we ...
3
votes
2answers
26 views

Any way to allow non validated (public visitors) to search the PCP pages available for an event?

Still evaluating CIVICRM for use by my organisation and I love most of the functionality. One thing I need, and I'm surprised it's not core functionality - or perhaps it is and I haven't found it ...
1
vote
1answer
19 views

Why have menu links to extensions eg DataViz, CiviDiscount, LogViewer now give the civi home page

After upgrading to 5.3.1 and clearing out templates_c and doing two drush cc all we are still finding sites where then menu link to eg CiviDiscount or LogViewer just show the civi home page What is ...

1 2 3 4 5 9