Project

General

Profile

Actions

Feature #91951

open

FLUID assets

Added by Christian Hackl over 3 years ago. Updated over 2 years 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 #1

Updated by Riccardo De Contardi over 3 years ago

  • Category set to Fluid
Actions #2

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?

Actions #3

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.

Actions

Also available in: Atom PDF