Project

General

Profile

Actions

Feature #91951

open

FLUID assets

Added by Christian Hackl over 4 years ago. Updated 3 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-08-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
fluid assets
Complexity:
Sprint Focus:

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!

Actions

Also available in: Atom PDF