-
Notifications
You must be signed in to change notification settings - Fork 64
Switch to flux #424
Comments
Same problem here. I was told to "just uninstall fluidcontent", but that caused the same error message you are describing. |
While it is true that you simply uninstall |
Real Example. Having
In DB table
To migrate current Content Elements, check column
And replace |
We build a SQL statement to convert the CType. You can see the SQL statement in the stackoverflow thread |
With uninstalling fluidcontent I don't see my elements in BE content wizard anymore. Anyone a hint? Could there be further changes at TypoScript/Templates necessary? PS: I use latest TYPO3 8.7 and latest versions of flux, vhs etc. Thanks! |
You need to make a manual database upgrade, see above 2 posts |
Thank you for your response! I did this, but nevertheless my elements didn't show up in the backend content wizard. Additionally the sites with the updated content elements show an error like Maybe my extra root path is the problem: |
@mschmitz89 are you sure that |
Also this is for |
Next try: Without the database update it is obvious, that my old custom content elements doesn't work anymore, but that I can't add new elements (because they are not shown in the BE) seems like another problem. Maybe there must be add something else at ext_localconf.php than this? <?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('my_template', 'Content'); Any help would be greatly appreciated! |
@mschmitz89 Your name somewhat suggests you are ok with german, have a look here: https://www.aemka.de/news/fluid-content-inhaltselemente-ohne-extfluidcontent.html |
@MrMooky Flux detects templates like Fluidcontent does - you do not need to register each one. In fact it understands the exact same registration function call you used in Fluidcontent before, so you shouldn't need to change anything except migrate DB and uninstall Fluidcontent. @mschmitz89 Make sure your templates actually work before you try the migration. There are new requirements to arguments for If the template file can't be parsed, the element can't be used. Whereas Fluidcontent might allow you to see the entry - but cause errors if you try to use it. |
It's working now! I've update from latest flux 8.x to newest 9.x version. <?php
namespace MyVendor\MyProviderExtension\Controller;
class ContentController extends \FluidTYPO3\Flux\Controller\ContentController {
} Thank you very much for your help! |
I accidentally build my new Typo3 Page with flux and fluidcontent and unfortunatelly didn't read that fluidcontent is obsolte.
Is there an easy way to remove fluidcontent from my current installation and switch to flux so it can "take over" as it is described in the documentation.
What i've done since now:
All my existing content elements are showing an error like "Value is not allowed: "fluidcontent_content".
The text was updated successfully, but these errors were encountered: