Js on_page_load
Permalink
I've created a custom block using designer content, but I need to execute a script on each page that contains this block (or more specifically multiple instances of this block). I Know I saw something in some documentation somewhere about an on_page_load() function, but I can't remember if that was the appropriate function or where that documentation was. If anyone can point me in the right direction that would be great.
https://www.concrete5.org/documentation/developers/system/events...
If you scroll all the way to the bottom you'll see how you can hook into events in your site.