Smarty PHP Include
Jamroom Developers
@michael : Yes, we want to inject custom HTML and JavaScript code, in pages created by the page module. All the custom code will only be setup by admin, stored in CDN or local files on our JR server. The custom code will vary based on unique Page ID or Page URL. This technique, combined with mapped profile domains, allows building very powerful sub modules under a main JR site.
--
Maybe we can code solution using your above advice:
michael: listen for "view_results", check the url, and "str_rep to inject"
Will need time to study existing code for examples of those above listeners and functions...
--
michael: There probably is a better event though.
Can you think of any better event listener / functions to achieve this goal?
updated by @softdesigns: 03/16/17 12:52:50AM