In the Mura admin create a webservice and set it to OAuth2 Password and then use it's client_id and client_secret with this
You can choose to keep the client_secret an actual secret or not. It just depends on if you care if it's wide open or not.
In the Mura admin create a webservice and set it to OAuth2 Password and then use it's client_id and client_secret with this
You can choose to keep the client_secret an actual secret or not. It just depends on if you care if it's wide open or not.
<mura name="My Module" contenttypes="*" iconclass="mi-rebel" /> |
<!--- Force Image Resave for All Images ---> | |
<cfset application.serviceFactory.getBean('fileManager').rebuildImageCache(siteid='YOURSITEID')> | |
<!--- or to just reset a specific image size you can use ---> | |
<cfset application.serviceFactory.getBean('fileManager').rebuildImageCache(siteid='YOURSITEID' ,size='YOURSIZE')> |
CREATE TABLE IF NOT EXISTS `country` ( | |
`iso2` char(2) NOT NULL, | |
`name` varchar(45) NOT NULL, | |
`iso3` char(3) NOT NULL, | |
`numeric` smallint(3) UNSIGNED NOT NULL, | |
PRIMARY KEY (`iso2`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
INSERT INTO `country` (`iso2`, `name`, `iso3`, `numeric`) VALUES | |
('AF', 'Afghanistan', 'AFG', 4), |
/* | |
There are two (2) image plugins available for CKEditor: | |
The "Image" plugin (https://ckeditor.com/cke4/addon/image), which is used by default; | |
and the "Enhanced Image" plugin (https://ckeditor.com/cke4/addon/image2), which offers the ability to caption images. | |
To enable the "Enhanced Image" plugin, follow these instructions: | |
1. Edit the file located under {ThemeName}/js/editor/config.js.cfm | |
(if the file doesn't exist, create it ... if the config.js.cfm.txt file exists, rename it to remove '.txt') |
7.1 was designed with a Docker first work flow in mind.
Docker allows increased support for Continuous Deployment and Testing, Multi-Cloud Platforms, Environment Standardization and Version Control. As well as better Isolation and Security (stolen from https://dzone.com/articles/5-key-benefits-docker-ci)
body { | |
background: #f9f9f9; | |
font-family: 'Open Sans', sans-serif; | |
text-align: center; | |
} | |
#container { | |
position: relative; | |
z-index: 2; | |
padding-top: 100px; |
<p>Using closures, it is possible to create an "object-like" struct with cfml and not using any components. It allows you to do encapsulation, have methods, do chaining, etc. It's api is pretty much identical to an object, except that you use a function to create it (instead of new). ACF10+ and Lucee 4.5+</p> | |
<cfscript> | |
//this version encapsulates the value, you cannot update it from the outside | |
function make (required numeric input) { | |
var value = input; | |
var o = { | |
add: function (required numeric input) { | |
value += input; |
<script> | |
Mura.DisplayObject.Form.reopen({ | |
onAfterRender: function() { | |
//this.context.targetEl is a pointer to the dom element that contains the rendered Mura form. | |
var container = Mura(this.context.targetEl); | |
console.log(this.context.targetEl); | |
} |