Skip to main content
17 votes
Accepted

Status page angular load error

We had one site that had 'lost' all it angular pages, eg CiviMail and System Status. In our case the angular cache files were returning 404 on the New Mailing page. (and 'inspector' was showing a lot ...
petednz - fuzion's user avatar
  • 28.4k
9 votes

Status page angular load error

I was able to solve this, at least for now, on my WordPress 4.8/Civi 4.7.22 site using this suggestion from Tim Otten: another work-around should be going to "Administer => System Settings => ...
Noah Miller's user avatar
  • 1,057
7 votes
Accepted

Adding dynamic data in CiviMail angular template

I've been recently digging into Angularjs, as I'm trying to make some customization, and this is what I figured out after a reading loads of blog posts covering the subject. I'm not an angular expert ...
Andrei's user avatar
  • 2,321
5 votes
Accepted

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

Disclaimer: I'm not an angularjs expert Again this is a bit of a hack, we are intercepting a built-in CiviCRM angular directive and extending to add behaviour. Create a custom extensions or use an ...
Andrei's user avatar
  • 2,321
4 votes
Accepted

Add field on Case type form

If you're ok with it not being tightly integrated (i.e. automatically available in the xml or to the api), then you can do something like below, which adds a field labelled "Boo" to the case type edit ...
Demerit's user avatar
  • 23.3k
3 votes

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

Cross-origin refers to accessing resources on a different domain. It's curious that URLs you reference are actually different domains -- www.netzwerk-n.org vs netzwerk-n.org. You might want to check ...
Tim Otten's user avatar
  • 5,684
3 votes
Accepted

"Unknown path" when viewing a newly generated angular page

I believe you first need to generate a module, à la civix generate:angular-module. Have you already done that?
universalhandle's user avatar
3 votes

Which version of Angular/AngularJS does CiviCRM use?

How to check your Angular version Go to the default Angular base page for your site at http://example.org/civicrm/a Open a browser console Evaluate angular.version within the console: Notes about ...
Sean's user avatar
  • 3,168
3 votes

Unable to create a new mailing

Found the problem. Debugging was turned on. Once I turned it off "New Mailing" worked.
Nina Gonzalez's user avatar
3 votes

System Status Page Blank after Upgrade

Here's one answer that fixed my problem (see my comment above). The cause was that when I created the Drupal system I just used the domain name without the www. But Civi was loaded with www. This ...
Andy Clark's user avatar
  • 4,845
3 votes
Accepted

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

Drupal 7 Broken upgrade, try to replace database tables (civicrm_dashboard/_menu/_navigation) with vanilla tables Drupal 8/9 According to https://lab.civicrm.org/dev/core/-/issues/2975 there is one ...
yurg's user avatar
  • 2,053
2 votes
Accepted

How to set permissions on an angular page

I found a solution for this. The developer docs (https://docs.civicrm.org/dev/en/latest/framework/angular/loader/) mention how you could create your own angular page, which is a regular civicrm page ...
Jaap Jansma - CiviCooP's user avatar
2 votes

Which version of Angular/AngularJS does CiviCRM use?

With even version 5 of civicrm it is still using angular 1.5. I checked it on the demo site https://demo.circle-interactive.co.uk/civicrm/a on the console i ran: angular.version, and it returned ...
Pankaj Bhagat's user avatar
2 votes

Status page angular load error

I had this issue as well and tried all the suggestions above to no avail. Eventually, I found that because I had redirected my site to www.mysite.com instead of mysite.com I was getting this error: ...
andyanderso's user avatar
2 votes

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

For a Javascript-only solution, you can also make an API call using user_contact_id for the contact ID. For instance: $result = civicrm_api3('Contact', 'get', [ 'sequential' => 1, 'return' =&...
Jon G - Megaphone Tech's user avatar
2 votes

Status Error and blank status page

I just fixed this issue on a site I was working on. Hopefully it helps you as well. My issue was directory permissions. You need to make sure that all of your directories have permissions set to ...
zpert's user avatar
  • 141
2 votes
Accepted

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

It looks like you have a config mismatch between your CMS and your CRM. The tell is in the CORS error in the screenshot you provided. It looks like your site is serving content at https://www.example....
universalhandle's user avatar
2 votes

How do I set default values in afform?

Afform is still in beta so I expect this functionality to improve further, but currently it does support passing in an id via the url. It keys off the af-entity name property. So if you visit your ...
Coleman's user avatar
  • 18.8k
2 votes

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

Another clue: the CiviCRM -> Status page /civicrm/a#/status was completely blank This helped [it's a cache clear of sorts] Administer -> System Settings -> Asset Caching -> Disable brought ...
KarinG - Semper IT's user avatar
2 votes
Accepted

Angularjs called from an extension?

Ok, sorted it out with some suggestions and examples. $loader = new \Civi\Angular\AngularLoader(); $loader->setModules(array('trialadmin')); $loader->setPageName('Administration'); $loader->...
Norm Dressler's user avatar
2 votes
Accepted

Using a dropdown box for selecting stateprovice?

Try below code <div crm-ui-field="{name: 'myForm.location_province', title: ts('Province')}"> <input name="myForm.location_province" crm-ui-id="myForm....
Pradeep Nayak's user avatar
2 votes

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

According to https://lab.civicrm.org/dev/core/-/issues/2975 there is one extra command to run after. Have created PR for documentation https://lab.civicrm.org/documentation/docs/sysadmin/-/...
CiviTeacher's user avatar
2 votes
Accepted

Search kit broken and templates not parsed

Just found out! The call was made by searchList.controller.js which is automatically loaded from civicrm/ext/search_kit/ang/crmSearchAdmin/ But this file has been removed in CiviCRM 5.42 and its ...
Bastien Ho's user avatar
2 votes

Angular Profiles extension - needed?

No, the Angular Profiles Extension is not required by CiviCRM core or any extensions other than CiviVolunteer that I'm aware of (and probably a future version of CiviVolunteer will not need it either)....
Coleman's user avatar
  • 18.8k
2 votes
Accepted

DB Error: unknown database when creating a CiviMail mailing

After a week of no luck, I was just about to ask this question, when I got a tip on the Town Square CiviCRM Matter Most forum (thank you @seamuslee) The entire problem was to do with Composer patches. ...
ChumKui's user avatar
  • 786
1 vote
Accepted

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

At some point I recognized that it's not only the new mailing page that doesn't load when I disable debugging, but also the system status page wouldn't. So I thought, both things might have something ...
Jannis Eicker's user avatar
1 vote

Multi-select not working with crmUiSelect AngularJS select2 directive

For some reason, you can't use the ngOptions directive with select2 multi-select elements. You need to manually specify the <option> elements with ngRepeat like this instead: <select crm-...
Sean's user avatar
  • 3,168
1 vote

CiviCRM upgrade to 4.7.21 (Drupal 7)

This is my answer pasted from this question We had one site that had 'lost' all it angular pages, eg CiviMail and System Status. In our case the angular cache files were returning 404 on the New ...
petednz - fuzion's user avatar
  • 28.4k
1 vote

How to manage AngularJS dependencies within an extension

An approach: composer-downloads-plugin civicrm-core now uses the https://github.com/civicrm/composer-downloads-plugin for Javascript and CSS libraries. You can use the same technique in an extension. ...
Tim Otten's user avatar
  • 5,684
1 vote

Status page angular load error

Another option to try - my menu was missing, status page was blank, and I've tried everything listed above - near the bottom of the Resource URLs page is the option to force SSLs. I switched this to '...
Rose Lanigan's user avatar
  • 1,050

Only top scored, non community-wiki answers of a minimum length are eligible