includeJsFiles not working in fluid ViewHelper in TYPO3 -
i need add custom js file in backend module of typo3 v7.6 extension.i added following code in layout
<f:be.container includejsfiles="{0:'{f:uri.resource(path:\'js/main.js\')}'}">   <!------------  contents    ------------> </f:be.container>    no error js file not included in page source.any other method there implement requirement?
i assume path js-file wrong.
 declaration expected ext:your_extension/resources/public/js/main.js in extension (as statet in core sources).
 when in doubt try other pathes. (full references)
Comments
Post a Comment