EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field.

ExpressionEngine.com licenses:

  • 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: Reel not working within a Grid Field

Status Resolved
Add-on / Version Reel 1.5.3
Severity
EE Version 5.4.0

PhilBrienesse

Feb 11, 2021

I can’t get reel to return anything within a grid field. I tried a standalone field not in a grid and it works fine. Here is the code I am testing to get it to work. This is within a channel entries call and the field_placeholder returns what is expected so I know its not my grid code.

{grid_video-slider}
          <img class="rsImg" src="{grid_video-slider:field_yvideo:thumbnail_max}" data-rsVideo="https://www.youtube.com/watch?v={grid_video-slider:field_yvideo:id}" data-rsTmb="{grid_video-slider:field_yvideo:thumbnail_max}" />
          <h1>Testing Simple Video within a grid: {grid_video-slider:field_yvideo}</h1>
<p>          </p><h1>Testing another field in same grid: {grid_video-slider:field_placeholder}
        {/grid_video-slider}
#1

BoldMinded (Brian)

Feb 11, 2021

So it works fine in the control panel in a Grid? You can select videos etc? It’s just the display on the front end that isn’t working?

#2

PhilBrienesse

Feb 11, 2021

Correct

#3

BoldMinded (Brian)

Feb 12, 2021

I’ll try to replicate this later, but there shouldn’t be any difference in a standalone field vs a grid field. The grid display method actually calls the same method of a standalone field. Are you positive your template tags are correct?

#4

BoldMinded (Brian)

Feb 12, 2021

Comment has been marked private.

#5

BoldMinded (Brian)

Feb 12, 2021

I actually didn’t have any issues displaying the field on the front-end. If your template code is correct, then it should work. The issue I encountered was actually saving the video data in the CP, which didn’t save when it was in a Grid field. You may need to re-save your entries that contain Reel fields inside of Grid if you’re still having problems. This build though, I confirmed works in Grid and Bloqs in the CP and displaying videos on the front-end.

#6

BoldMinded (Brian)

Feb 12, 2021

#7

PhilBrienesse

Feb 12, 2021

So that was the issue it hadn’t actually saved the videos. It allowed me to select them and I saved the entry so I never even considered that they wouldn’t have saved. When I went back in to the entry this time there was nothing there. With the new version they successfully saved and it is now working as expected.

Thanks

Login to reply