Feature #91951
openFLUID assets
0%
Description
Hello,
can we get a "order" attribute of the assets viewhelpers?
for example, I have 2 times the f:asset.script viewhelper in my template. The first one should be an inline script and the second one is an external file.
TYPO3 renders the external file before the inline one...
<f:asset.script identifier="first" priority="true">alert("my inline script");</f:asset.script>
<f:asset.script identifier="functions" src="EXT:my_ext/Resources/Public/JavaScript/functions.min.js" priority="true" />
Maybe you can change the "identifier" to get a sort order.
thank you!
Updated by Benni Mack over 2 years ago
- Status changed from New to Needs Feedback
Hello Christian,
do you want to get the inline code BEFORE the included external file?
Updated by Christian Hackl over 2 years ago
Benni Mack wrote in #note-2:
Hello Christian,
do you want to get the inline code BEFORE the included external file?
for this example yes, but not only for inline-code.