Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Documentation/Exceptions/1480765571.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,24 @@ but forget the prefix `FILE:`:
'FILE:EXT:my_extension/Configuration/FlexForms/MyFlexForm.xml',
'myextension_textpic'
);

Mismatching name of the FlexForm file (TYPO3 14.3.5)
====================================================

This exception is thrown if no file exists at the configured path. The file name
is case-sensitive and must match exactly, in this example
:file:`flexform_ds_plugin.xml`:

.. code-block:: php
:caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
:linenos:
:emphasize-lines: 6

use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;

$extensionKey = 'my_extension';
ExtensionManagementUtility::addPiFlexFormValue(
'*',
'FILE:EXT:' . $extensionKey . '/Configuration/FlexForms/flexform_ds_plugin.xml',
$pluginSignature,
);