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: For nested bloqs, add first_child and last_child conditionals

Status Resolved
Add-on / Version Bloqs 4.0.16
Severity
EE Version 5.1.1

Jarod Clark

Jan 01, 2019

It would be really helpful with nested bloqs to know where the current block is in the hierarchy. Specifically, if there were variables for first_child and last_child which could be used in conditionals to add additional formatting, etc when a bloq is either the first or last child of another bloq.

#1

BoldMinded (Brian)

Jarod, thanks for the suggestion. I can see how that may be helpful. I’m in the middle of working on the next major release of Publisher, so I’ll take a look at this once I get that done.

#2

Wardour

I came to the support site looking for details on this feature. Nested Bloqs are already a valuable feature.

#3

BoldMinded (Brian)

The next release, 4.3.0, will have two new variables:

{blocks:is:first_child}
{blocks:is:last_child}

Login to reply