Issue Feature Needs Feedback Orphaned

#91951FLUID assets

Christian Hackl 08/07/20, 15:43 updated 08/22/24, 16:22

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 identifier="first" priority="true">alert(“my inline script”);<br><f:asset identifier="functions" src="EXT:my_ext/Resources/Public/JavaScript/functions.min.js" priority="true"></f:asset></f:asset>

Maybe you can change the “identifier” to get a sort order.

thank you!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] FLUID assets Resolves: #91951 Releases: main