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, 2023

The bloq has two atoms. One a text field. One a file. No image addons like jcogs being used.

Visual:

https://www.dropbox.com/scl/fi/68m710xpkqfokz9jhi42b/2023-09-05_19-14-38.png?rlkey=8xkg016j49ut63tsh0lmwr36d&dl=0

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:

https://www.dropbox.com/scl/fi/ctvupjiny4gbejvbiql0q/2023-09-05_19-18-45.png?rlkey=jghqjaeok64opludletrmn2ea&dl=0

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:

https://www.dropbox.com/scl/fi/1lr8dsk8efjem0vcamp8x/2023-09-05_19-33-19.png?rlkey=75fi1jagz5w2nea7ouc6ju9sq&dl=0

 

#1

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.

#2

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!

#3

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.

Login to reply