Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

plugin creation in gridelements container fails #1

Closed
EnzephaloN opened this issue Jan 10, 2017 · 3 comments
Closed

plugin creation in gridelements container fails #1

EnzephaloN opened this issue Jan 10, 2017 · 3 comments

Comments

@EnzephaloN
Copy link

TYPO3 7.6.15 +gridelements 7.0.6-dev + bootstrap_grids 1.3.1 + formhandler 2.4.0

Create a grid-CE on a page.
Create a formhandler-plugin inside a column of that grid-CE.
The formhandler-plugin is not there because fields tx_gridelements_columns and tx_gridelements_container set to 0.
Any other CE works, but not formhandler-plugin.

Creation of formhandler-plugins outside a grid-CE works, also moving that plugin into grid-CE. Only creation inside grid-CE fails.

@EnzephaloN
Copy link
Author

Johannes C. Schulz [9:23 AM]
Okay, some investigation later:
It's about ext_tables.php and the creation of the tt_content type. After changing the TCA to (see last row)

$TCA['tt_content']['types'][$_EXTKEY . '_pi1']['showitem'] = '
        --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
        --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
        --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.plugin,pi_flexform,
        --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
        --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
        --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
        --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
        --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
        --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.behaviour,
        --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended,
        --div--;LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xlf:gridElements,tx_gridelements_container,tx_gridelements_columns
    ';

it works.
But thats a bloody hack. Anyone an idea how to do this correctly?

@SvenJuergens
Copy link
Contributor

@EnzephaloN hi, is it still a problem?
i can't reproduce the described behavior.
my config is TYPO3 7.6.16 + current git version gridelements branch 7-0, + bootstrap_grids 1.3.1 + formhandler 2.4.0

@EnzephaloN
Copy link
Author

Hello
With the last version of gridelements Jo Hasenau changed the TCA-enhancing. So now it's fixes.

luzat pushed a commit to luzat/formhandler that referenced this issue Nov 23, 2022
* Possibility to abort the finishing process
and return error message

* setErrorMessage in build in custom finisher

* error response object

* error var must declare as abstract class member

* ide problem clear null check
type specification of object members

* delete doctype from properties
luzat pushed a commit to luzat/formhandler that referenced this issue Nov 23, 2022
luzat pushed a commit to luzat/formhandler that referenced this issue Nov 23, 2022
* Revert "Revert "Finisher error response and abort current proccess (PHORAX#1)" (PHORAX#2)"

This reverts commit 5fd92c3.

* Remove ResponseError

* Added error parameter to process to catch errors

* Return finisher error to ajax request

* Fixed array nesting

* Remove dead code
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants