Thursday 21 June 2012 1:25:46 pm - 4 replies
ezscriptfiles() + head.js = awesome
<script type="application/javascript"> head.js( {concat( "'", ezscriptfiles( array( ezini( 'JavaScriptSettings', 'JavaScriptList', 'design.ini' ), ezini( 'JavaScriptSettings', 'FrontendJavaScriptList', 'design.ini' ) ) ) | implode( "','" ), "'")}); </script>
BUT
this only works for site-wide files. Any ideas on how to get ezscript_load() as an array of files, without hacking ezjscore/classes/ezjscpacker.php?
Modified on Thursday 21 June 2012 1:35:00 pm by Geoff Bentley
Thursday 21 June 2012 7:05:40 pm
Ow yes, a pull-request !
Looking forward to it ![]()
The ultimate guidance tutorial for this : http://share.ez.no/learn/ez-publi...o-contribute-to-ez-publish-using-git
Cheers !
Sunday 24 June 2012 11:35:02 pm
Quote from Geoff Bentley :
What a lovely sound !
And what a lovely pull-request ! Well done Geoff, keep-up !
Cheers,
You must be logged in to post messages in this topic!