innovator Posted October 13, 2013 Share Posted October 13, 2013 Hi, while editing the template I need certain JS files added to the footer of the template footer.tpl what are the functions to add something to {$footeroutput} from within the template files. as an example i need to be able to add <script src="templates/default/js/jquery.min.js"></script> to {$footeroutput} from a particular place so that, that code gets output in the appropriate template. so need the api or function name to do that, and my code is in a .tpl file. thanks 0 Quote Link to comment Share on other sites More sharing options...
innovator Posted October 13, 2013 Author Share Posted October 13, 2013 so i got the follow code in my footer.tpl file, but it is not outputting "hello world!" in the document as expected, why would this be ? {php} function hello_world($vars){ return "hello world!"; } add_hook( "ClientAreaFooterOutput", 1, "hello_world" ); {/php} {$footeroutput} </body> </html> 0 Quote Link to comment Share on other sites More sharing options...
TimRef Posted December 7, 2021 Share Posted December 7, 2021 have you resolve this ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.