- Issue created by @AlfTheCat
Hi,
I have a few beginner questions, being new to this module. I'm trying to build a layout and style the contents of a PDF export. I need a two-column table as a header and below that, a table with line items, and then a footer with multiple columns at the bottom. I attached a ballpark example of what I'm attempting to do. I also attached an example of the kind of output I'm getting instead.
My default display is set to "unformatted list" and I'm not using a page display, and my export display is not attached to anything.
1: When I add a field to my PDF export view, it is added inside a table. It always renders a column header, even if labels are disabled. How can I disable the headers, or, even better, select a different format than "table"?
2: When I set the view to show "entity" under format settings, I can't select a view mode. The pdf just prints a long table with what seems to be serialized data alongside data from each field on the entity.
3: When I add a field "rendered entity" I can select a view mode (I created a "PDF" view mode) and the entity renders inside a table in the PDF. However, columns and styling is not applied.
4: When using fields, I can specify a row style which allows to input an "Alias". What does that setting do?
5: What is the recommended way to accomplish layouts such as in the example? Other than the mpdf documentation, is there any important guidance that will help with the use of this module?
Thanks in advance for any guidance, I feel like I'm missing some important details needed to use this module :)
Active
2.2
Documentation