0

I am running Drupal 8.7.8

I've created a view and excluded my fields from display except for the last field for which I have rewritten the results to output all the replacement strings in a certain layout. Everything works fine except for the videos.

I have two videos {{ field_video }} and {{ field_youtube }}. Both replacement patterns do not render to the screen.

Any fixes for how to render them when rewriting the results of fields?

  • Are these listed in the re-write results replacement pattern suggestions? – No Sssweat Oct 23 at 8:58
  • Yes. I have the field at the bottom of the list for the rewrite. The replacement pattern is showing the replacement strings. I have 2 fields one for youtube and one for a regular mp4. One of them shows blank, and the other one shows a link to the video and not a video itself. – Nick0989 Oct 23 at 16:02
  • Sounds like a bug. You could try creating a template file for your view's fields and printing them there rather than re-write results. – No Sssweat Oct 24 at 8:49
  • I'll try that, thanks. Lots of bugs and unavailable modules in Drupal 8 honestly... – Nick0989 Oct 24 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.