print a pdf with dompdf : how to set a template

If you print pdf with entity-print you can access to a twig template, but you can not set the paper size.

So I decide to print my pdf with dompdf directly :

Academy of Model Aeronautics Takes Flight in Drupal 8

The Academy of Model Aeronautics (AMA) is the world’s largest model aviation association and it promotes the development of model aviation as a recognized sport and recreational activity. Serving a membership of over 195,000, the association’s website is a highly trafficked and comprehensive resource that provides timely information on AMA membership, programs, and events in addition to allowing users to conduct many of their most common interactions with AMA online.

Sectors: 
Non-profit

Approach for building static pages

I am using D8 and have many static pages rendering content. Each page can be separated into chunks of content running to the full width of the page containing images, text in HTML.

I am aware there are 2 approaches to build these kind of static pages in Drupal.

1. Put the HTML content for each page inside Body field of Basic page content type and leave them to generate the full HTML for each page.

 (or)

Victoria’s Finding Records — site migration to SDP

Screenshot of the homepage for the Finding Records website.

Salsa Digital migrated the Finding Records website from proprietary CMS SiteCore to Victoria’s whole-of-government platform, Single Digital Presence (SDP) (a Drupal platform), using the open source migration tool Merlin. This meant a fast and cost-effective site migration to a highly secure platform.

Sectors: 
Government

Huge PHP error: TypeError: Argument 1 passed to Drupal\Core\Entity\EntityRepository

I've been seeing the following PHP error in the Drupal 8.6.15 logs, any idea what this is?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x