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: Render issue with <flux:content.render area="foo" /> in Workspace previews. #2158

Open
SimonMayr opened this issue Apr 11, 2024 · 0 comments

Comments

@SimonMayr
Copy link

I am using Flux Grid to render a Header on my Website. I have a Flux Configuration that looks like this:

<flux:grid>
    <flux:grid.row>
        <flux:grid.column name="headerItems" label="Header" colPos="1">
            <flux:form.variable name="allowedContentTypes" value="hwprovider_headeritem" />
        </flux:grid.column>
    </flux:grid.row>
</flux:grid>

and rendering it like this:

<flux:content.render area="headerItems" />

I am also using the Typo3 Workspace Module.

The issue i am facing is that if i move or edit the Header in a workspace, the Header-Items are missing in the Preview.
Specifically <flux:content.render area="headerItems" /> is not returning anything in the preview even tho there should be Header-Items.

Steps to reproduce the behavior:

  1. Switch to a Workspace other than the Live-Workspace.
  2. Edit or move a Content Element that has some "Child-Elements".
  3. Generate a preview link and visit the preview site.
  4. The "Child-Elements" are now missing in the preview.

I tested this in Typo3 v11 and v12 and with every version of this extension, and all versions had this issue.

If more information is needed, i can also provide some screenshots or try to explain the problem further.

Thanks for the time you guys put into this project.

Simon

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

1 participant