Media collection
Each media collection is added through the MFN Editor and then integrated using a TOKEN provided by Modular Finance.
The Media collection can be styled using CSS.
It can be used to show media for the press such as logos, products, and board members.

Implementation
The media collection can be implemented with the JS-Loader as shown bellow. It can also be implemented with shortcodes using the Datablocks plugin.
<div id="media-collection"></div>
<script>
(function(widgets) {
var url = "https://widget.datablocks.se/api/rose";
if (!window._MF) {
var b = document.createElement("script");
b.type = "text/javascript";
b.async = true;
b.src = url + "/assets/js/loader-v3.js";
document.getElementsByTagName("body")[0].appendChild(b);
}
window._MF = window._MF || {
data: [],
url: url,
ready: !!0,
render: function() { window._MF.ready = !0 },
push: function(w) { window._MF.data.push(w) }
};
window._MF.push(widgets);
})([{
query: "#media-collection"
,widget: "media-collection"
,locale: "en"
,token: "<TOKEN>"
}]);
</script>
Exempel
The following examples have added their own custom styles
Last updated
Was this helpful?