L ladogado New Member Feb 6, 2012 #1 Hello! I just recognized the {$extra_javascripts} in wrapper.html, but i can not find any .html template file for this? best regards!
Hello! I just recognized the {$extra_javascripts} in wrapper.html, but i can not find any .html template file for this? best regards!
Basti Administrator Staff member Feb 6, 2012 #2 This tag is used for plugins, if they require javascript, or css ($css_styles} In the plugin file you then simply call Code: $TMPL['extra_javascripts'] = 'javascript'; and it will be included. If you just want to include some javascript, there is noneed to use this method, simply add it to wrapper
This tag is used for plugins, if they require javascript, or css ($css_styles} In the plugin file you then simply call Code: $TMPL['extra_javascripts'] = 'javascript'; and it will be included. If you just want to include some javascript, there is noneed to use this method, simply add it to wrapper
L ladogado New Member Feb 6, 2012 #3 i see, wrapper.html is a bit big, generally on templates I try to avoid doing many changes in a big file instead of a small one ^^ thx anyways!
i see, wrapper.html is a bit big, generally on templates I try to avoid doing many changes in a big file instead of a small one ^^ thx anyways!
Basti Administrator Staff member Feb 6, 2012 #4 Well, wrapper is not big. Seen way bigger ones since i code