2

Use the CKEditor method setData(): CKEDITOR.instances['custom_162_126'].setData('blub');


2

I don't see any evidence that that field was ever used for anything. If you want to insert javascript into the page see https://docs.civicrm.org/dev/en/latest/framework/resources/#javascript which you can use as part of an extension: https://docs.civicrm.org/dev/en/latest/extensions/


1

You may need to add below line in .htaccess or nginx config to allow php file be executed RewriteCond %{REQUEST_URI} !/libraries/civicrm/extern/[a-z]+\.php$ Copy extern directory from civicrm vendor folder into libraries The rest api url for drupal would look like https://sitename/libraries/civicrm/core/extern/rest.php


1

OK, my bad. I had to update the nz.co.fuzion.extendedreport extension, too.


1

https://developer.wordpress.org/reference/functions/get_shortcode_regex/ "get_shortcode_regex" doesn't seem to work when nesting CiviCRM shortcodes. I found 2 hacky workarounds.


1

CRM.api3('StateProvince', 'get', { "sequential": 1, "return": ["name","country_id.name"], "options": {"limit":0} }) UPDATE: I haven't tried this but Lodash v3 is loaded on most civi pages so you might be able to use filter or forEach to combine the results of the above with the countryLimit ...


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