When developing Masa CMS Themes or Plugins the
m scope is available. This is referred to as the ‘Masa Scope’.
$ scope (‘dollar scope’) and
mura scope are deprecated and should not be used anymore.
You can use the
m scope in your template like so:
m.dspCarouselByFeedName( feedName='Slideshow' , showCaption=true , cssID='myCarousel' , size='carouselimage' , interval=5000 , autoStart=true )
This example is using the MasaBootstrap5 Theme; The function
dspCarouselByFeedName in the
contentRenderer.cfc is called via the
m scope. Also the function available through Masa Plugins are available:
This example is using the MuraLocations Plugin. The function
dspFindLocationsForm in the
Eventhandler.cfc is called via the