Comments (1)
As you're probably already aware, flux:field.file
will not work the same on TYPO3v12 as it did on earlier TYPO3 versions. Other issues describe the reasons for this in great detail. The TL;DR is: Flux cannot recreate compatibility for this field type which was forcibly removed from TYPO3 itself in version 12. You must find an alternative.
Is there a migration from flux:field.file to flux:field.inline.fal?
There is not, at least not an official one and no unofficial ones that I'm currently aware of. You're far from the first person to have this problem but I don't know if anyone else has solved it with a migration and been nice enough to publish the migration script they used.
There is an update script for TYPO3 10, but not for 12, right?
Correct; that upgrade script however is only dealing with a much older Flux change and was only needed a couple of major versions and many years ago - it rewrites colPos values. It does not change file references at all.
Does it generally make sense to change the whole thing to flux:field.inline.fal?
That field type is as of now (TYPO3v12 and future) the only one that will work to let you select a file as a sys_file_reference
so that is the recommended approach. I know of others who tried using an inputLink
field type with files as only link target type but this comes with multiple drawbacks (for one, it requires parsing of the field value to extract a UID of a file and AFAIK, will not support cropping or scaling of any kind).
If you go with flux:field.inline.fal
or generic flux:field type="file"
(which are the same thing on v12) see also #2139 (comment).
from flux.
Related Issues (20)
- Incompatibility with 12.4.9 at translated content HOT 1
- BUG: Missing site attribute in request with TYPO3 12.4.9 HOT 3
- BUG: Problem with fal relations on inserting pages from the clipboard (make copy of a page) HOT 3
- Empty element browser with flux:field.file HOT 3
- BUG: After upgrading from flux 9.7.4 to 10.0.9 ArgumentCountError in ContentTypeManager HOT 3
- How to migrate wizard.suggest HOT 2
- Core: Error after Update 12.4.10 HOT 2
- TYPO3 12.4.10 - Multilingual - Undefined array key "colPos" HOT 2
- Error message "Tried resolving a template file for controller action "Content->standard" in format ".html"" after update HOT 4
- BUG: TYPO3 12 flux:field.file Record Selector dont work HOT 5
- BUG: Render issue with <flux:content.render area="foo" /> in Workspace previews.
- BUG: PHP Warning: Undefined array key "colPos" in /flux/Classes/Integration/Overrides/BackendLayoutView.php line 118) HOT 2
- BUG: Changed image not available in translation
- PHP Warning: Undefined array key "native" in flux/Classes/ViewHelpers/Field/AbstractFieldViewHelper.php line 165 HOT 4
- Flux contents ignored by l10nmgr extension in TYPO3 v12 HOT 2
- BUG: unused elements are displayed multiple times. sometimes TYPO3 freezes
- BUG: Major performance decreasement - Flux caching and PreviewRendering HOT 6
- BUG: FluidTYPO3\Flux\Service\RecordService::isBackendOrPreviewContext() fails when used in command line context
- ExtensionManagementUtility::addStatic should not call in ext_localconf.php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux.