benjaminkott / autogrids

This is a configuration Extension for Grid Elements. It provides a clean configuration for Grid Elements to be compliant with TYPO3 Core Best-Practices.
GNU General Public License v2.0
10 stars 1 forks source link

Flexform format #5

Closed corentindechomet closed 4 years ago

corentindechomet commented 4 years ago

Hi,

We're currently having an issue with Autogrids & Bootstrap Package. Everything works fine except flexforms utilities.

Eg:

  1. We're using the carousel from Bootstrap Package. Everthing works fine: we have access to flexforms via "data.pi_flexform". For example in Bootstrap Package you use it for carousel indicators (with data.pi_flexform.show_nav_title).
  2. If we use this carousel in a grid element, Flexform isn't formatted as it was in the previous case. There is a pi_flexform property, but with nested arrays. For example "show_nav_title" isn't directly accessible, and all flexform object can't be used as in "1." in templates & partials.

You can also try using a Timeline content. Setting the sorting option doesn't work when the content element is located in a grid.

Are we missing something ?

Thank you in advance for your answer, Corentin

corentindechomet commented 4 years ago

Hi again,

I just found the answer on Slack :

tt_content.gridelements_pi1 {
    dataProcessing {
        10.default {
            options.resolveChildFlexFormData = 0
        }
    }
}

resolveChildFlexFormData isn't referenced by gridelements documentation. Maybe it could be disabled by default when using autogrids & Bootstrap Package ?