Questions tagged [angular]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
64 views

Angular Profiles extension - needed?

Is the Angular Profiles extension needed in CiviCRM 5.64 onwards - apart from the CiviVolunteer extension? I see there's a new release of the extension, but I can't work out whether it's required or ...
Andy Clark's user avatar
  • 4,720
2 votes
1 answer
47 views

Search kit broken and templates not parsed

I have 1 local environment, 1 dev, 1 staging and 1 prod. Everything is fine on local and dev, but on staging and prod, the SearchKit page looks like that: The console says: Error: [$injector:unpr] ...
Bastien Ho's user avatar
2 votes
1 answer
82 views

Angular is being loaded twice after 5.56 update Civi menu won't load

Have already cleared cache several times and tried different browser. This message appears twice in browser Console and menu won't load after update from 5.51 to 5.56 on D9. Menu was working before ...
CiviTeacher's user avatar
0 votes
1 answer
112 views

civicrm 5.54.0 status page and menus not loading after upgrade

After upgrading my CIVICRM is not working anymore. Menu's are not available and Dashlets are empty. There seems to be an AngularJS issue. The file https://www.instituutvlaamsevolkskunst.be/sites/...
Stefaan H's user avatar
0 votes
1 answer
62 views

Drupal Clean URL disable breaks CiviCRM

In addition to this question: disabling Clean URLs in Drupal [7.90] somehow breaks CiviCRM resources load with cryptic errors in Dev Console: Error: CRM.url called before initialization Common.js?...
yurg's user avatar
  • 1,839
1 vote
1 answer
201 views

Error: [ng:btstrpd] App already bootstrapped with this element '<crm-angular-js modules="crmDashboard">'

Getting this Error: [ng:btstrpd] App already bootstrapped with this element '<crm-angular-js modules="crmDashboard">' on Dashboard with the only "CiviCRM News" ...
yurg's user avatar
  • 1,839
1 vote
0 answers
33 views

Adding AngularJS page as a Joomla menu item

I created an AngularJS extension that has a page that needs to be viewable outside of CiviCRM's administration area. To view it inside CiviCRM, the URL is: administrator/index.php?option=com_civicrm&...
Kurt Leadley's user avatar
1 vote
0 answers
63 views

Angular Modules script not building?

Background: Successfully managed to upgrade an old CiviCRM (on WordPress) installation to the latest version a month or so ago (5.48.1) - Problem: I'm still left with this one weird glitch after ...
majick's user avatar
  • 111
2 votes
2 answers
93 views

After upgrading Joomla site to 5.46.2 no recipients available in mail, only 'Searching…'

After upgrading Joomla site to 5.46.2 with Mosaico 2.9 and searchkit, there are no recipients available in mail, only showing 'Searching…' in the recipient box. The problem disappears if debugging is ...
Bryan's user avatar
  • 543
0 votes
1 answer
41 views

Router problem. AngularJS on Jooma

I'm trying to learn AngularJS with CiviCRM and I am doing the tutorial found here. After completing the tutorial, I navigated to http://localhost/Joomla/administrator/index.php?option=com_civicrm&...
Kurt Leadley's user avatar
1 vote
0 answers
114 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
0 votes
1 answer
28 views

Using a dropdown box for selecting stateprovice?

I'm trying to change some forms from quickforms to angularjs. In quickforms you do this: $this->addEntityRef('Location_province', ts('Select Province'), ['entity' => 'state_province',]); How do ...
Norm Dressler's user avatar
1 vote
2 answers
161 views

Angularjs called from an extension?

Good morning from Canada. I am trying to create an extension with angularjs forms. I have followed the development guide and have created the angularjs page but I cannot get it to display in CiviCRM....
Norm Dressler's user avatar
0 votes
1 answer
56 views

Why are my Actions drop downs not working post civicrm security update?

After the CiviCRM security updates - some of our D8 sites are throwing blanks when selecting an Action -> on e.g. the Search -> Contacts Results screen. Select Contacts -> Select Action -> ...
KarinG - Semper IT's user avatar
4 votes
1 answer
101 views

How do I set default values in afform?

I'm working on my first afform extension. I've built a form, which works! I can submit values and create a contact. However, I can't figure out how to pre-populate with default values. This is pretty ...
Jamie's user avatar
  • 1,236
0 votes
1 answer
20 views

How best to use crmApi result within angularJs controller?

Referring to the snippet below, how do I get the controller function (DashboardController) to 'wait' for the return from crmApi? I've debugged enough to know crmApi returns the results I like, but ...
Mike Steigerwald's user avatar
3 votes
1 answer
158 views

Add field on Case type form

I want to add a field on Case type setting (civicrm/a/#/caseType/1 which is build in angular js) either just below the description field or as a tab besides case role tab. What is the easiest way to ...
Pradeep Nayak's user avatar
2 votes
1 answer
106 views

How do HTTPS settings interfere with CiviMail?

I have CiviCRM sites (5.12 and 5.13 on Drupal 7 with Aegir 3) where the behaviour of CiviMail initialisation (and the admin status page) depends on particular HTTPS setup: finishes or loops infinitely....
Doka's user avatar
  • 387
6 votes
3 answers
183 views

Unable to load AngularJS pages, e.g., CiviVolunteer and CiviCRM status page

The following links in the CiviCRM admin menu don't work for me: Volunteers > New Volunteer Project Volunteers > Manage Volunteer Projects Volunteers > Search for Volunteer Opportunities When I ...
Molly's user avatar
  • 63
2 votes
3 answers
503 views

System Status Page Blank after Upgrade

After upgrading from 4.7.31 to 5.2.0 the system status page is blank. I made sure the Directory and Resource url settings match; I cleaned up caches and reset paths; I disabled the Asset Cache; no ...
raaboyl's user avatar
  • 185
4 votes
1 answer
553 views

Status Error and blank status page

On our CiviCRM deployment, running 4.7.23, it says System Status: Error in the footer. When clicking the System Status: Error link, I get a blank page with the following console errors (url redacted): ...
Brylie Christopher Oxley's user avatar
2 votes
2 answers
125 views

CiviMail: Can only write new mailing in debug mode (SOLVED)

I've got the problem, that after an upgrade to the newest CiviCRM version (4.7.23) on WordPress, I can only create a new mass mailing when debug mode is enabled. When it is disabled, CiviCRM gives me ...
Jannis Eicker's user avatar
4 votes
0 answers
238 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
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
0 votes
1 answer
1k views

Multi-select not working with crmUiSelect AngularJS select2 directive

I created a select2 element with CiviCRM's crmUiSelect AngularJS directive by using the following code in my controller: $scope.options = [ {"value": "foo", "label": "Foo"}, {"value": "bar", "...
Sean's user avatar
  • 3,158
0 votes
2 answers
127 views

CiviCRM upgrade to 4.7.21 (Drupal 7)

I am using Drupal 7.56 and have just upgraded from CiviCRM 4.7.20 to 4.7.21 with a number of significant issues that will require that I revert to 4.7.20. When I try to display System Status - Warning ...
Martin Fuggle's user avatar
4 votes
1 answer
91 views

How to manage AngularJS dependencies within an extension

I'm creating an extension and using AngularJS within it. I've found a 3rd party AngularJS library that I'd like to use in my extension (in this case ngInfiniteScroll). What is the proper way to make ...
Sean's user avatar
  • 3,158
6 votes
7 answers
2k views

Status page angular load error

I've just upgraded a test site from 4.7.15 to 4.7.21 on Drupal before going live. The System Status page isn't showing as expected and the console has this log: GET failed for ..../sites/mysite/...
chriscant's user avatar
  • 382
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
2 answers
319 views

Which version of Angular/AngularJS does CiviCRM use?

I'm working on learning Angular/AngularJS for use with CiviCRM and confused about which version I should be learning. How can I see which version CiviCRM is using?
Sean's user avatar
  • 3,158
1 vote
1 answer
569 views

How can I link to a specific tab in crm-ui-tab-set

With AngularJS, I have a page (created with civix generate:angular-page) that includes a set of tabs like so: <div crm-ui-tab-set> <div id="mytab1" crm-ui-tab crm-title="ts('Tab 1')"&...
TwoMice's user avatar
  • 1,794
5 votes
1 answer
108 views

"Unknown path" when viewing a newly generated angular page

I'm trying to get started learning how to make Angular pages within a CiviCRM extension so I ran civix help generate:angular-page and read some help text about an example. Cool. Then I ran civix ...
Sean's user avatar
  • 3,158
1 vote
1 answer
38 views

Accessing selectedMail in a new controller

I've created a new angular controller angular.module('crmMailing').controller('crmMailingRecurScheduleCtrl', function($scope, $filter) { I'd like to have access to the selectedMail object that ...
michaelmcandrew's user avatar
2 votes
1 answer
82 views

Append an option to the BlockSchedule Directive in crmMailing

I'm making a first foray into customizing the mailing compose screen. I want to add a third option to the options in BlockSchedule.html (schedule.mode = regular) which will open up a few more options ...
michaelmcandrew's user avatar
5 votes
1 answer
88 views

How to set default for 'Unsubscribe Group' in civimail

Do a search using 'Find Contacts' Select a few and choose task 'Email - schedule/send via CiviMail' How do I set default value for Unsubscribe Group? Any help is much appreciated.
user4423's user avatar
4 votes
0 answers
103 views

Angular Error: Module 'crmMailing' is not available! When CiviMail is enabled

We are running a Bitnami Stack for CiviCrm and Drupal on our own local VM server. https://bitnami.com/stack/civicrm Our versions are CiviCrm 4.7.13 Drupal 7.52 I grant access to CiviCrm features ...
Rod Harris's user avatar
4 votes
1 answer
114 views

modifying angular form (new mailing)

I'm wrestling with where and how to best make modifications to the CiviMail new mailing form, built with Angular. There are several other questions addressing this in part, but none address my needs ...
lcdservices's user avatar
1 vote
0 answers
191 views

Problem in CiviMail after upgrade of CiviCRM 4.5.4 to 4.7.10 in Joomla 2.5.28

I have recently upgraded CiviCRM 4.5.4 to 4.7.10 latest stabled version. I can't select any recipients from CiviMail recipient dropdown, when I select a group, the field label goes red and it ...
Ashwin's user avatar
  • 179
1 vote
2 answers
216 views

Unable to create a new mailing

I am editing this question to provide more information. I am running CiviCRM 4.7.8 with WordPress 4.5.3. We are using php 5.6.23. When selecting "New Mailing" from the "Mailings" menu, the screen is ...
Nina Gonzalez's user avatar
5 votes
1 answer
158 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 ...
Ken West's user avatar
  • 1,037
5 votes
2 answers
477 views

How to get contact id of logged-in user in JS API

Sorry if I'm being thick here, but I've looked and looked. Is there an API call to get the contact id of the logged-in user? What I need to do is check whether an activity has been authored by the ...
naomi's user avatar
  • 1,247
4 votes
1 answer
357 views

Adding dynamic data in CiviMail angular template

I have developed an extension which adds the possibility to add attachments to a message template. When a user select the template in CiviMail the linked attachments are also sent. This is working ...
Jaap Jansma - CiviCooP's user avatar
9 votes
6 answers
446 views

How to change mailing form and set the default value for url_tracking to false?

Is it possible to alter the mailing form? I want to set the default value for url_tracking to false. Usually I would write a hook_civicrm_buildForm and set a custom default value but this hook is not ...
Philipp Michael's user avatar
7 votes
1 answer
176 views

Are we going to switch to angular 2?

Angular has a new shiny version that seems to offer several new features and a faster experience. https://angular.io/features.html https://medium.com/google-developer-experts/angular-2-introduction-...
Xavier's user avatar
  • 10.2k
2 votes
1 answer
139 views

How to set permissions on an angular page

I have developed a basic angular page and forms which stores data in the database. However the data stored are settings and should only be accesible when a user has a permission for Administer CiviCRM....
Jaap Jansma - CiviCooP's user avatar
4 votes
1 answer
128 views

How to set page title in an angular page?

I have created an angular page and module and it does exactly what I wanted it to do. However the page title is CiviCRM and I want to change that. How do I do that? I have tried to set it in the ...
Jaap Jansma - CiviCooP's user avatar