Page 1 of 1

trying to add jQuery Mapael to cmsms

Posted: Wed Feb 04, 2015 3:05 pm
by hifigeoff
Hi,

I'm trying to add a jQuery mapael map to my cmsms site but I can't get it to work - is there a simple guide to adding jQuery components to cmsms that I can have a look at?

Thanks,

Geoff.

Re: trying to add jQuery Mapael to cmsms

Posted: Wed Feb 04, 2015 3:33 pm
by Jo Morg
hifigeoff wrote:is there a simple guide to adding jQuery components to cmsms that I can have a look at?
It's the same as with a static page with one single difference:
{ and } need to be surrounded by spaces so that Smarty can auto-literal and not puke an error. Other than that if it works on a static HTML page it works on CMSMS

Re: trying to add jQuery Mapael to cmsms

Posted: Wed Feb 04, 2015 3:59 pm
by 10010110
The best would be total separation of concerns, of course, and no JS in HTML templates at all, but all in an external JS file.