Questions tagged [angular]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
51 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 ...
2
votes
1answer
52 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....
6
votes
3answers
91 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 ...
1
vote
3answers
206 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 ...
4
votes
1answer
331 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): ...
2
votes
2answers
77 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 ...
3
votes
0answers
135 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/#/...
1
vote
0answers
996 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 ...
0
votes
1answer
588 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", "...
0
votes
2answers
117 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 ...
1
vote
0answers
21 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 ...
6
votes
4answers
1k 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/...
3
votes
0answers
62 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 ...
1
vote
1answer
97 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?
1
vote
1answer
432 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')"&...
3
votes
1answer
49 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 ...
1
vote
1answer
35 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 ...
2
votes
1answer
76 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 ...
5
votes
1answer
66 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.
4
votes
0answers
69 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 ...
4
votes
1answer
80 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 ...
1
vote
0answers
147 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 ...
1
vote
2answers
176 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 ...
5
votes
1answer
134 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 ...
5
votes
2answers
224 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 ...
4
votes
1answer
281 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 ...
8
votes
2answers
285 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 ...
7
votes
1answer
136 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-...
2
votes
1answer
87 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....
4
votes
1answer
109 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 ...