Actions
Bug #71486
closedEmpty Compressed CSS file in iframe with external file in f:be.container
Start date:
2015-11-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
css, backend, module
Complexity:
medium
Is Regression:
No
Sprint Focus:
Description
I am not sure why this is not going. But in my TYPO3 6.2 Backend module, I want to include the bootstrap.min.css from maxcdn. After reading through the doc I decided to go with f:be:container and use the includeCssFiles argument to load it as follows:
<f:be.container loadJQuery="true" includeCssFiles="{0: '{f:uri.external(uri:\'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css\')}'}">
I also get a compressed css file in the iframe, but it is empty:
<link media="all" href="../typo3temp/compressor/bootstrap.min-cfc9fc44495c6d385418e5ee4d0ab2cd.css?1447181637" type="text/css" rel="stylesheet">
Updated by Mathias Schreiber about 9 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
Correct.
Compressor cannot work with external resources.
Updated by Helmut Hummel almost 9 years ago
- Status changed from Needs Feedback to New
- Complexity set to medium
There are more issues here:
- compressor does not properly compress remote resources (why should it, see related ticket)
- it is not possible to add external resources without compression or concatenation
- the be.container VH is a mess
- we lack nice and simple VHs as wrapper for page renderer
- we lack reasonable and nice API of page renderer
all fixable, i'd say it is an advanced beginner or intermediate task
Updated by Mathias Schreiber over 4 years ago
- Status changed from New to Closed
We cannot fix this issue.
External resources are external resources. If these need to be compressed, the build-service should take care of downloading the latest version so TYPO3 can work with local resources.
Actions