[b]The problem is solved
Thanks Y.Fan:
you can set $jsOptions in your YourAssertFile
$jsOptions['position'] = View::POS_HEAD
[/b]
how to publish my extension’s js files in the <head></head>
i published my extension’s js files in the view ,But the location of the js file at the end of the HTML,Because of this,my extension can’t work
note: If I put the js files in the <head></head>,my extension will work normally
samdark
(Alexander Makarov)
2
That’s the wrong way to fix it. Framework files should not be modified like that.
I don’t want to modify the framework files , But I did’t come out with another way.
I hope you can give me some advice.thanks
lygfanye
(Fanye Boy)
4
you can set $jsOptions in your YourAssertFile
$jsOptions['position'] = View::POS_HEAD