Evil Ware
12/29/2023, 6:02 PMjvddrift
01/10/2024, 3:13 PMMasa 7.2
how do I pass custom CSS and styles to the CKEditor?guustnieuwenhuis
01/18/2024, 8:02 PMtigerlady
01/26/2024, 7:37 PMJonas Eriksson
01/29/2024, 8:01 AMsowmyanayak
02/15/2024, 6:25 PMBrian Reilly
02/16/2024, 4:04 PMjvddrift
02/19/2024, 2:31 PMmura.js
or mura.min.js
. In the release notes for Masa I see under 7.4.0
the remark reviewed form module
What does this mean? Has there been a rehaul? The rendering from within the .js
makes it very difficult to customize some settings (e.g. adding an auto-complete
or aria-label
attribute).guustnieuwenhuis
02/19/2024, 3:18 PMguustnieuwenhuis
02/19/2024, 3:19 PMjvddrift
02/20/2024, 10:06 AM.js
files?ehoffman
02/20/2024, 9:08 PMjvddrift
02/23/2024, 3:47 PMguustnieuwenhuis
03/07/2024, 1:27 PMjvddrift
03/27/2024, 1:35 PMold
Mura we had [mura]$.getNewsOptionLabelList()[/mura]
which would run getNewsOptionLabelList()
from the Contentrenderer to build an option list in a selectbox.
In Masa 7.2 this is not working and we only see [mura]$.getNewsOptionLabelList()[/mura]
in a single option of the select box.
I have tried replacing both [mura]
and $
with m
and tried [m]
, but no luck
What is the correct syntax to run getNewsOptionLabelList()
from the Contentrendererguustnieuwenhuis
04/04/2024, 2:41 PMenableDynamicContent
to false
. This created issues with some of the users. We’ve been investigation on how to improve the functionality around enableDynamicContent
and we’ve got a fix ready.
But... we would like to ask you to test our fix and let us know how you experience it.
https://github.com/MasaCMS/MasaCMS/pull/303
Looking forward to your feedback!jvddrift
06/12/2024, 7:53 AMfilebrowser
another undocumented key in settings.ini.cfm
?
{
"error": {
"message": "Unhandled Exception",
"code": "server_error",
"stacktrace": {
"extended_info": "",
"message": "key [filebrowser] doesn't exist",
"detail": "",
"additional": {},
"tagcontext": [
{
"raw_trace": "resourcebundle.resourcebundle_cfc$cf$2b.udfCall(/mura/resourceBundle/resourceBundle.cfc:233)",
"codeprintplain": "231: \t\t}\n232: \n233: \t\treturn variables.resourceBundleStruct[key];\n234: \n235: \t}\n",
"column": "0",
"line": "233",
"template": "/var/www/html/local/zmc/www/core/mura/resourceBundle/resourceBundle.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "231: \t\t}<br>\n232: <br>\n<b>233: \t\treturn variables.resourceBundleStruct[key];</b><br>\n234: <br>\n235: \t}<br>\n"
},
{
"raw_trace": "resourcebundle.resourcebundlefactory_cfc$cf.udfCall(/mura/resourceBundle/resourceBundleFactory.cfc:117)",
"codeprintplain": "115: \n116: \tpublic function getKeyStructure(required string locale=\"#variables.locale#\", key) output=false {\n117: \t\treturn getResourceBundle(arguments.locale).getKeyStructure(arguments.key);\n118: \t}\n119: \n",
"column": "0",
"line": "117",
"template": "/var/www/html/local/zmc/www/core/mura/resourceBundle/resourceBundleFactory.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "115: <br>\n116: \tpublic function getKeyStructure(required string locale="#variables.locale#", key) output=false {<br>\n<b>117: \t\treturn getResourceBundle(arguments.locale).getKeyStructure(arguments.key);</b><br>\n118: \t}<br>\n119: <br>\n"
},
{
"raw_trace": "core.modules.v1.filebrowser.model.beans.filebrowser_cfc$cf$52.udfCall2(/muraWRM/core/modules/v1/filebrowser/model/beans/filebrowser.cfc:912)",
"codeprintplain": "910: \t\targuments.siteid == \"\" ? \"default\" : arguments.siteid;\n911: \t\tvar m=getBean('$').init(arguments.siteid);\n912: \t\tvar rb = application.rbFactory.getKeyStructure(session.rb,'filebrowser');\n913: \n914: \t\treturn rb;\n",
"column": "0",
"line": "912",
"template": "/var/www/html/local/zmc/www/core/modules/v1/filebrowser/model/beans/filebrowser.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "910: \t\targuments.siteid == "" ? "default" : arguments.siteid;<br>\n911: \t\tvar m=getBean('$').init(arguments.siteid);<br>\n<b>912: \t\tvar rb = application.rbFactory.getKeyStructure(session.rb,'filebrowser');</b><br>\n913: <br>\n914: \t\treturn rb;<br>\n"
},
{
"raw_trace": "core.modules.v1.filebrowser.model.beans.filebrowser_cfc$cf$52.udfCall2(/muraWRM/core/modules/v1/filebrowser/model/beans/filebrowser.cfc:938)",
"codeprintplain": "936: \t\t\teditfilelist = m.globalConfig().getValue(property='filebrowsereditlist',defaultValue=editfilelist); // settings.ini.cfm: filebrowsereditlist\n937: \t\t\timagelist = m.globalConfig().get(property='filebrowserimagelist',defaultValue=imagelist); // settings.ini.cfm: filebrowserimagelist\n938: \t\t\tvar rb = getResourceBundle(arguments.siteid);\n939: \t\t\tresponse.settings = {\n940: \t\t\t\teditfilelist: editfilelist,\n",
"column": "0",
"line": "938",
"template": "/var/www/html/local/zmc/www/core/modules/v1/filebrowser/model/beans/filebrowser.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "936: \t\t\teditfilelist = m.globalConfig().getValue(property='filebrowsereditlist',defaultValue=editfilelist); // settings.ini.cfm: filebrowsereditlist<br>\n937: \t\t\timagelist = m.globalConfig().get(property='filebrowserimagelist',defaultValue=imagelist); // settings.ini.cfm: filebrowserimagelist<br>\n<b>938: \t\t\tvar rb = getResourceBundle(arguments.siteid);</b><br>\n939: \t\t\tresponse.settings = {<br>\n940: \t\t\t\teditfilelist: editfilelist,<br>\n"
},
{
"raw_trace": "client.api.json.v1.jsonapiutility_cfc$cf$4d.udfCall2(/mura/client/api/json/v1/jsonApiUtility.cfc:1172)",
"codeprintplain": "1170: \n1171: \t\t\t\t\t\tvar entity=getBean(params.entityName);\n1172: \t\t\t\t\t\tvar result=invoke(entity,pathInfo[3],params);\n1173: \t\t\t\t\t\treturn serializeResponse(statusCode=200,response={'apiversion'=getApiVersion(),'method'=params.method,'params'=getParamsWithOutMethod(params),'data'=result});\n1174: \t\t\t\t\t} else if (params.entityName=='content') {\n",
"column": "0",
"line": "1172",
"template": "/var/www/html/local/zmc/www/core/mura/client/api/json/v1/jsonApiUtility.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "1170: <br>\n1171: \t\t\t\t\t\tvar entity=getBean(params.entityName);<br>\n<b>1172: \t\t\t\t\t\tvar result=invoke(entity,pathInfo[3],params);</b><br>\n1173: \t\t\t\t\t\treturn serializeResponse(statusCode=200,response={'apiversion'=getApiVersion(),'method'=params.method,'params'=getParamsWithOutMethod(params),'data'=result});<br>\n1174: \t\t\t\t\t} else if (params.entityName=='content') {<br>\n"
},
{
"raw_trace": "content.contentserver_cfc$cf$22.udfCall2(/mura/content/contentServer.cfc:615)",
"codeprintplain": "613: \t\t\t<cfset siteid=\"default\">\n614: \t\t</cfif>\n615: \t\t<cfreturn getBean('settingsManager').getSite(siteid).getApi('json','v1').processRequest(arguments.path)>\n616: \t<cfelseif left(arguments.path,len(restendpoint)) eq restendpoint or left(arguments.path,len(restendpoint)) eq restendpoint>\n617: \t\t<cfset request.muraAPIRequest=true>\n",
"column": "0",
"line": "615",
"template": "/var/www/html/local/zmc/www/core/mura/content/contentServer.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "613: \t\t\t<cfset siteid="default"><br>\n614: \t\t</cfif><br>\n<b>615: \t\t<cfreturn getBean('settingsManager').getSite(siteid).getApi('json','v1').processRequest(arguments.path)></b><br>\n616: \t<cfelseif left(arguments.path,len(restendpoint)) eq restendpoint or left(arguments.path,len(restendpoint)) eq restendpoint><br>\n617: \t\t<cfset request.muraAPIRequest=true><br>\n"
},
{
"raw_trace": "content.contentserver_cfc$cf$22.udfCall2(/mura/content/contentServer.cfc:777)",
"codeprintplain": "775: \n776: \t<cfif listFindNoCase('_api,tasks',listFirst(path,'/'))>\n777: \t\t<cfreturn handleAPIRequest(path)>\n778: \t<cfelse>\n779: \n",
"column": "0",
"line": "777",
"template": "/var/www/html/local/zmc/www/core/mura/content/contentServer.cfc",
"id": "??",
"type": "cfml",
"codeprinthtml": "775: <br>\n776: \t<cfif listFindNoCase('_api,tasks',listFirst(path,'/'))><br>\n<b>777: \t\t<cfreturn handleAPIRequest(path)></b><br>\n778: \t<cfelse><br>\n779: <br>\n"
},
{
"raw_trace": "index_cfm$cf.call(/index.cfm:75)",
"codeprintplain": "73: modified version; it is your choice whether to do so, or to make such modified version available under the GNU General Public License \n74: version 2 without this exception. You may, if you choose, apply this exception to your own modified versions of Mura CMS.\n75: ---><cfoutput>#application.contentServer.handleRootRequest()#</cfoutput>\n",
"column": "0",
"line": "75",
"template": "/var/www/html/local/zmc/www/index.cfm",
"id": "??",
"type": "cfml",
"codeprinthtml": "73: modified version; it is your choice whether to do so, or to make such modified version available under the GNU General Public License <br>\n74: version 2 without this exception. You may, if you choose, apply this exception to your own modified versions of Mura CMS.<br>\n<b>75: ---><cfoutput>#application.contentServer.handleRootRequest()#</cfoutput></b><br>\n"
}
],
"errorcode": "0",
"errnumber": "0",
"type": "expression",
},
"method": "invalid",
"apiversion": "v1"
}
Sebastiaan
06/25/2024, 9:59 AMguustnieuwenhuis
06/26/2024, 7:13 AMSebastiaan
07/02/2024, 11:38 AMJonas Eriksson
07/12/2024, 9:30 AMjvddrift
08/14/2024, 12:33 PMSebastiaan
09/25/2024, 2:55 PMSebastiaan
11/12/2024, 1:01 PMSebastiaan
11/12/2024, 1:46 PM<cfif getHttpRequestData().headers["X-Forwarded-For"] eq "[localIPFromSettings]">
<!-- show login -->
<cfelse>
<cflocation url="[redirect-to-some-URL]" statuscode="302" addtoken="false">
</cfif>
quetwo
12/22/2024, 3:37 AMjvddrift
02/12/2025, 1:37 PMcontentRenderer.cfc
for each site. Creating a contentRenderer.cfc
in my sites folder does not seem to work.alholden
04/10/2025, 4:11 PMalholden
04/21/2025, 8:56 PMalholden
05/02/2025, 6:29 PM