New Component shortcodes not working properly in Accordions

Hi, I have tried out the new Shortcodes for exported components. It has similar (but other) troubles as the old shortcode of global blocks.
To recreate:

  • Make a page, and put an accordion on it
  • In the accordion content, place a shortcode to an exported component.
  • That exported compontent should contain a simple text element. You get slightly different behavior (none of it correct behavior) when you export only the text element, or the text element with some surrounding framework (e.g. the parent Div, or even parent section).
  • The text element shall simply contain the text {{dc:post:titel}}

Observation: the post titel (i.e., the name of the page that you have created) does not show in the Accordion, but at the top of the page, even above the header. The (wrong) placement of the text is different in the builder (below accordion) and on the frontend (above header).

If you place the same accordion within a looper (e.g. looping recent posts), {{dc:post:titel}} should show the titel of the consumed posts. But it does not, it also shows the page titel, consistent with the wrong placement where it outputs - as if it does not belong to the accordion inside the looper.

If, instead of an exported component, you place an old global block inside the accordion it does also not pull the proper post titel, but at least it shows the output at the correct position inside the accordion. This I have reposrted previously (https://theme.co/forum/t/old-global-block-issue-still-a-problem-in-v6-b2/100928) - see also the secure note in that previous post for access to the staging site where it is happening.

Hello @striata,

Thanks for writing in! I believe that this is a bug in the latest release. I have reported this to our developers and have been added in our issue tracker.

Please bear with us.

Has this been fixed in the latest 6.0.4/6.0.5 update?

@striata,

It has been already fixed in the latest release.

Thanks

I still see the same mistake in 6.0.5

Hello I hope you have been well. Do you have I site I could check out with this issue with accordions? This is a component shortcode in an accordion in Cornerstone correct? I would also start by clearing any caches that might be in place.

Dear Charlie, see secure note mentioned in the last sentence of the first message in this thread. This is a staging site that can be played with. Thank you!

Hey @striata,

We don’t see any secure note on your first message in this thread. Please update it so that we can check on it.

Thank you.

There is a link to another post with secure note.

Hey @striata I don’t think you updated to the latest version in your test, but let us know if you have any other issues. See secure note. Thanks have a great day.

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