Bug: Global Block in Accordion does not show dynamic content

I have made a minimal page that shows the problem: https://stria.tech/testpage/
The screenshot below shows the layout of the page.
The page (seen on the right in the screenshot) has three sections (red, blue, and green background) with similar structure:
red, blue: Section > Div > Accordion (with a single Accordion item).
green: Section > Div > Text Element
In each section, the Div has Looper Provider/Consumer enabled, consuming 2 items.

The Accordion in the red section simply has {{dc:post:titel}} BOTH in the header and content. It works.
The Accordion in the blue section also has {{dc:post:titel}} in the header (which shows that the Looper returns the proper results), and it has [cs_gb name=“testblock”] in the content.
The Text in the green section has [cs_gb name=“testblock”].

The structure of this global block is shown on the left in the screenshot: Section > Div > Textelement. The Text element simply contains the text {{dc:post:titel}}.

The Global Block in the Accordion (blue section) does however NOT show the correct post titel. In the front end of the page, both Accordion items show “testpage” (the titel of the page) instead of the titel of the consumed post. In the builder (see screenshot), at least the first Accordion item shows the post titel, the second item shows “testpage”.

This is not a problem of the Global Block itself, but it is related to the Accordion: In the third (green) Section with the Text element with [cs_gb name=“testblock”], the proper Post-Titel is displayed, both in the builder and on the front end.

Hey @striata,

Thank you for the detailed description of the issue. I have replicated the issue in my site so I’m now going to post this in our internal issue tracker so this case will be queued to be investigated by our development team. For now, please don’t use the Global Block with the Dynamic Content in the Accordion.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.