Hi everyone, I'm currently working on a project where I need to embed real-time data visualisations—such as sensor dashboards and interactive graphs—into CMS Made Simple templates. While the visual components function correctly in standalone environments, integrating them into CMSMS has led to performance issues, including increased load times and occasional rendering glitches. I suspect these problems might be related to how CMSMS handles JavaScript within its templating system or perhaps due to caching mechanisms interfering with dynamic content. I've come across some resources discussing embedded systems and CMS optimisation techniques, but I'm still seeking practical advice on best practices for integrating such components seamlessly into CMSMS. Has anyone here dealt with similar challenges or can offer guidance on optimising CMSMS for real-time embedded visualisations?
Here are a few references I found while researching the topic, which explain the kind of components I'm dealing with:
https://www.coredna.com/blogs/cms-perfo ... -practices
https://www.theengineeringprojects.com/ ... stems.html
viewtopic.php?t=26953
Challenges Integrating Real-Time Embedded Visualizations into CMS Made Simple Templates
Re: Challenges Integrating Real-Time Embedded Visualizations into CMS Made Simple Templates
I'm not sure that CMSMS would be causing any particular issues, but may how it is being used. If you are including js within page templates then to need to make sure it's not being recognised as containing smarty delimiters { & } e.g. by using {literal tags} see: https://www.smarty.net/docsv2/en/langua ... on.literal or move the js into external files. Check for errors in the browser developer tools console.
You might even want to check out the Dashboard module that I've used to embed some content with the CMSMS admin pages.
You might even want to check out the Dashboard module that I've used to embed some content with the CMSMS admin pages.