jvddrift
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 ContentrendererSebastiaan Naafs - van Dijk
03/29/2024, 8:24 AMjvddrift
04/02/2024, 9:58 AMguustnieuwenhuis
04/03/2024, 8:41 AMSebastiaan Naafs - van Dijk
04/03/2024, 8:43 AMjvddrift
04/03/2024, 9:15 AMjvddrift
04/03/2024, 9:30 AMSebastiaan Naafs - van Dijk
04/03/2024, 9:33 AMjvddrift
04/03/2024, 10:17 AMguustnieuwenhuis
04/04/2024, 3:17 PMSebastiaan Naafs - van Dijk
04/05/2024, 12:16 PMjvddrift
04/15/2024, 9:38 AMjvddrift
04/23/2024, 2:30 PMjvddrift
05/22/2024, 8:32 AMenabledynamicoutput
in my settings.ini.cfm
. Because of that the setting defaulted to false
.
Because of this, in core\mura\content\contentRenderer.cfc
on line 2706
the if
statement matched and the exact string (being a mura tag with a function call) was returned.
Adding enabledynamiccontent=true
to my settings.ini.cfm
fixed it.
I don't think I have seen this in the breaking changes
anywhere.jvddrift
05/22/2024, 8:51 AMif
statement should be expanded with a check for enablemuratag
to prevent security risks?
https://docs.masacms.com/getting-started/configuration/configuration-file/#enablemuratagSebastiaan Naafs - van Dijk
05/22/2024, 8:59 AMjvddrift
05/22/2024, 9:01 AMSebastiaan Naafs - van Dijk
05/22/2024, 9:16 AM