Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG:Overriding Partial does not work with 1680889288 #34

Open
powermix opened this issue Apr 19, 2023 · 2 comments
Open

BUG:Overriding Partial does not work with 1680889288 #34

powermix opened this issue Apr 19, 2023 · 2 comments

Comments

@powermix
Copy link

i spent time till i did figure it out i can't use timestamp 1680889288 have to use 1623227656 instead .

@powermix powermix changed the title Overriding Partial does not work with 1680889288 BUG:Overriding Partial does not work with 1680889288 Apr 19, 2023
@akroii
Copy link

akroii commented Jul 26, 2023

Do you mean your FormSetup.yaml which leads to a blank UnknownElement.html? in fluid debug view?

Like that:

            Form:
              renderingOptions:
                templateRootPaths:
                  70: 'EXT:xxx/Resources/Private/Extensions/Form/Templates/'
                partialRootPaths:
                  1680889288: 'EXT:xxx/Resources/Private/Extensions/Form/Partials/'

@mgerdes-atl
Copy link

Hi @akroii ,
just came accross this issue while implementing a custom template for the captcha field.

Problem I see:
in the extension the partial path is set via 1623227656
overlaying with 1680889288
does not work.
The configuration in backend seems to show everything correct. But the template in bw_captch is rendered instead of the one in atl_provider
bw_captcha

If I change the
module.tx_form.settings.yamlConfigurations.###ID### to a higher value then 1623227656 it is working as excpected...

No clue what this is.

I'm on TYPO3 11.5.30 right now.

I solved the issue by including a seperate yml file with the following content

  CMS:
    Form:
      prototypes:
        standard:
          formElementsDefinition:
            Form:
              renderingOptions:
                partialRootPaths:
                  1623227656: 'EXT:atl_provider/Resources/Private/Fluid/Extensions/Form/Partials/'

with a higher index 1623227657 to override your yaml configuration.

Regards
Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants