Template for PDF made with "Views Node Operations Bulk Form"?

Created on 23 June 2021, over 3 years ago
Updated 7 August 2023, over 1 year ago

Hello,

I would like to export multiple nodes to one PDF file (Views Node Operations Bulk Form) using your module "entity_print". I use a Costum View for this, which I have set up as described in your official instructions ( https://www.drupal.org/node/2706755#s-create-your-own-view โ†’ ). In principle this works fine, but the result does not use the template I created for the respective content type (node). I assume that another special template is needed here, but I donโ€™t know how it is called. What is the naming convention of this specific template for bulk export via custom view? Can anyone help me there?

My used versions:
Drupal: 8.9.16
Entity Print: 8.x-2.2
domPDF: 0.8.0
PHP: 7.4.14

Template naming conventions I used (works fine for one node or view only - not multiple nodes in one pdf via bulk function):

entity-print.html.twig
entity-print--node--CONTENT-TYPE-NAME.html.twig
node--CONTENT-TYPE-NAME--PDF.html.twig

The following does not work for me:
entity-print--view--view--VIEW-NAME.html.twig
( https://www.drupal.org/project/entity_print/issues/3046891 ๐Ÿ’ฌ Need example of custom templating in views Active )

What I also need to know, is how can I debug the bulk export via costum view?

for views: https://www.your-domain.de/print/view/pdf/view-name/page_1/debug
for nodes: https://www.your-domain.de/print/pdf/node/node-id/debug

but what about bulk via view?

Thank you very much for any help and advice.

๐Ÿ’ฌ Support request
Status

Needs review

Version

2.2

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany pyretta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024