Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Putting a Child block in Draft mode doesn’t work when the parent is still Open

Status Resolved
Add-on / Version Bloqs 4.12.2
Severity
EE Version 6.2.5

John Derrick

Feb 23, 2022

I noticed this earlier tonight, but putting a Child block in Draft mode doesn’t work when the parent is still Open. It will render on the front-end, even in Draft mode. I had to move the draft bloq, that was previously a child, to the parent level, for it to disappear from the front-end.

#1

BoldMinded (Brian)

John, can you please provide a video of what you’re describing?

#2

John Derrick

I didn’t get a chance to make a video, but I wanted to follow up with two screenshots to see if that may clarify.

This screenshot below shows how I originally had the bloqs - and as you can see, the bottom Image [1 Col] Bloq should be in draft mode. But on the front-end, it was still displaying. I suspect because the parent block, which it is nested within, is still toggled to be Open/Live. In my templates, the nested children bloqs load via the {bloqs:children} tag like described in the docs. So I assume the Image block is loading within the Heading container. This works fine for all my bloq instances, except in this single case. https://www.dropbox.com/s/1v872m905nbdg38/Screen%20Shot%202022-02-24%20at%204.42.50%20AM.png?dl=0

Below was my solution, to move the block from being nested as a child of my Content [Heading] block, and instead I put it at the parent/root level, this made it disappear from the front-end as expected. https://www.dropbox.com/s/e36vljtd0r00o42/Screen%20Shot%202022-02-24%20at%204.41.30%20AM.png?dl=0

#3

BoldMinded (Brian)

John, have you tried replicating this in a new environment, or on a different site? When you reported this I was a bit surprised by it because no one else has reported a similar issue, and I just tried to replicate it and couldn’t. We also heavily use this functionality at my day job and it’s been working fine there as well.

https://www.dropbox.com/s/6wiey7i5a4invzl/ticket-2379-1.png?dl=0 https://www.dropbox.com/s/2f75sqmm9wgvzt5/ticket-2379-2.png?dl=0

#4

John Derrick

I tested this in another section and you’re right, it does work without any issue. I apologize for not trying that myself earlier. I am starting to think maybe something was hung up with my Cache, but I’ll mark this as Resolved since I cannot replicate outside that one entry. Thanks for your help!

Login to reply