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: File tag pair

Status Resolved
Add-on / Version Bloqs 3.0.16
Severity
EE Version 3.5.3

Rob Allen

Oct 24, 2017

I’m trying to get a file tag pair to output so I can pull in the file’s Description, Credit etc but it doesn’t want to play ball, at least using grid style syntax, sample code:

{bloq_image}
{image}
    <figure>
        <img src="{image:url}">
        <figcaption>{image:description} {image:credit}</figcaption>
    </figure>
<p>{/image}<br />
{/bloq_image}

As Bloqs is File field compatible am I missing something?

 

#1

BoldMinded (Brian)

The first thing I would suggest is upgrading to the latest version if you are using 3.0.16.

#2

Rob Allen

Updated to EE3.5.11 and Bloqs 3.0.16 but no joy.

#3

BoldMinded (Brian)

The latest version of Bloqs is 3.2.

#4

BoldMinded (Brian)

If you’re still downloading from Devot:ee you’re not getting the latest version. Go to your licenses section on this site to get 3.2.

#5

Rob Allen

Sorry my mistake, it is currently on 3.2, too many things happening at once!

#6

BoldMinded (Brian)

Your template code is incorrect. Should be:

{page_blocks}
     {basic_content}
         {image}
             {url} {extension} {upload_date format="%Y %m %d"}
            {/image}
        {/basic_content}
    {/page_blocks}

Basically drop the prefixes. You can see this code working on the demo site below the view all button on http://demo.boldminded.com/en/shards/grixis

#7

Rob Allen

Brilliant, thanks Brian

Login to reply