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: Stumped by one bloq atom working, and another displaying empty
Status | Resolved |
Add-on / Version | Bloqs 5.0.10 |
Severity | |
EE Version | 6.4.14 |
Paul Larson
Sep 05, 2023The bloq has two atoms. One a text field. One a file. No image addons like jcogs being used.
Visual:
Created a debug template, isolating the entry and ONLY the atoms being used:
Block field is {content_blocks}
Block atom named {header}
{exp:channel:entries entry_id="11" dynamic="no"}
{content_blocks}
{header}
Entry ID: {entry_id}<br>
Image is:{cb-header_background_image}<br>
Title is: {cb-header}
{/header}
{/content_blocks}
{/exp:channel:entries}
The output is:
Entry ID: 11
Image is:
Title is: Awards and accolades
(Where the filename should be output, e.g. “Image is: tech-header-awards.jpg”)
On the entry itself, the content is:
For the life of me I can’t figure this one out.
Checked for typos in field name, etc.
Developer Log says:
Attempting to render a block from entry #11, but the template tag pair is missing. Add {form_bloq}{/form_bloq} to your debug/image template to correct this error.
{form_bloq} is another atom entirely:
BoldMinded (Brian)
Sep 05, 2023
I’m in vacation so it’ll be a week until I can look at this. Since it’s about an image field did you check the docs? I added examples a few weeks ago.
Paul Larson
Sep 05, 2023
Odd! Single tag to tag pair fixed it.
Eg
{my_image} to
{my_image}{url}{/myimage}
Much like thread below :
https://boldminded.com/support/ticket/2734
But I wasn’t even on latest EE64: above thread seemed
Like 7.3 issue? Maybe my bloqs being the latest yet my EE being behind was the issue.
Thanks!
BoldMinded (Brian)
Sep 10, 2023
Something was changed in the EE core parsing when they released the multiple variable modifiers, which affected how Bloqs renders image tags. I just uploaded 5.0.11, try it out.