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: Can’t access File or Assets field within relationship over MSM

Status Resolved
Add-on / Version Bloqs 3.1.2
Severity
EE Version 3.51 (and latest 4)

Paul Larson

May 07, 2018

Description:

Accessing Relationship data seems to work via Bloqs, across an MSM site, for anything but a File or Assets field.

Detailed steps to reproduce the issue:
1. Create a bloqs channel field in site A
2. Create template in SiteB, access channel field via Relationship
3. Point to image or Asset field

Screenshot of Bloq configuration for the field: https://www.dropbox.com/s/efla2iiif65g2mf/2018-05-07_07-47-41.png?dl=0

Template sample:

Everything in yellow WORKS, drawing from the same bloqs field.

https://www.dropbox.com/s/xjrtyv56zb62u3y/2018-05-07_07-48-44.png?dl=0

Anything File/Asset related does not work.

Note: on a brand new EE 4 site with latest bloqs, I produce the same steps (below) with a Native file field with the same result.

Not sure it’s bloq’s fault - but seems odd that every other element of the bloq field can be referenced just fine. Pointing to an image is af the code is skipped or producing a blank result.

<div class="col {links:link_type} stroke{links:link_circle_stroke_color} link{links:count} {links:link_hover_effect} clearFix">
		{if links:link_lightbox_content || links:link_lightbox_url || links:link_graphic || links:link_hover_graphic}
			<div class="colWrapper clearFix" >
				{if links:link_lightbox_content}<a href="#inline{links:count}_{links:entry_id}" aria-label="{links:title}" class="linkTextContainer">{/if}
				{if links:link_lightbox_url}<a href="{links:link_lightbox_url}" class="fancybox-media fancybox.iframe">{/if}
				{if links:link_url}<a href="{links:link_url}" {if links:link_new_window == "Yes"}rel="ext"{/if}>{/if}
			<div class="colInner">
				{if links:link_graphic}
					{if '{links:link_graphic:extension}' == 'gif'}
					<img src='{main_gillette_site_url}{links:link_graphic}' alt='{links:link_graphic:alt_text}'>
					{if:else}
					{!--exp:ce_img:single width="500" alt='{links:link_graphic:alt_text}' class="hello"--}
					{exp:ce_img:pair crop="yes" allow_scale_larger="yes" src="{links:link_graphic}" width="500" }
					<img width="{width}" src="{made_url}" alt="{links:link_graphic:alt_text}" height="{height}" width="{width}">
					{/exp:ce_img:pair} 
					{/if}
				{/if}
				Img Sizer
				{exp:imgsizer:size src="{links:link_graphic}" width="100"}
					<img src="{sized}" width="{width}" height="{height}" />
 				{/exp:imgsizer:size}

			</div>
#1

BoldMinded (Brian)

I’ll try to take a look at this tonight or Tuesday night.

Login to reply