1

I created a custom block "Share". This one is not displayed on any page.

I installed the "Twig Tweak" module.

How to display a custom block in a view ?

enter image description here

5

If you want to add it to the header or the footer, edit your view, and in the middle column next to header or footer click add and then select Rendered entity - Custom block

views 1

When adding the block, just use the block ID (that can be found in the block's URL - in the image you uploaded your block ID would be 103)

views 2

Make sure these options are checked / filled in.

views 3

Your Answer

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