Resize logo on Invoice

The Invoice logo size is set in your "invoice_pdf_html.tpl.php" file. Which comes with ERPAL. Or you could create your own ".tpl.php" file. The path to that file is display at "ERPAL" > "ERPAL INVOICE" tab > "Invoice PDF templates" section. Or go directly to /admin/erpal/invoice

If you're not familiar with editing ".tpl.php" files a workaround is:

Layout plugin

The Layout plugin module allows modules or themes to register layouts by simply providing a YAML file and some templates, and for other modules to list the available layouts and render them.

Registering layouts using *.layouts.yml


The simplest case (so, using the 'template' and 'css' keys)


Registering your own theme function and using 'theme'


Registering your own library and use 'library'


Setting up Leaflet GeoJSON 7.x-2.x with Panels (Drupal 7)

Outlined below is the process of enabling a Leaflet GeoJSON map via Panels. Note that this has been verified for the versions listed below, and successfully creates maps with 1 OR MORE Leaflet GeoJSON layers added to them.


(versions listed below are used in this example, not necessarily the minimum req):

Writing a migration plugin for custom or contributed modules

This section will provide information and links for writing migration plugins for custom and contributed modules.

Migrate API docs.

Drush commands

This page will document the various migration-related Drush commands:

migrate-upgrade (no alias)

Provided by the Migrate Upgrade project. Use this to run a upgrade from Drupal 6/7 to Drupal 8. This command will generate migration configurations (from migration templates) based on the source site's configuration and content and then run all migrations in the proper order (based on dependencies).

Continuous Migration

Since migrations are no longer done in-place, it is possible to do continuous content migration, which means the first time a migration is run all content is imported. On subsequent runs, you can expect that:

  • Content that is unchanged will be ignored - no duplicates will be created
  • New content will be imported
  • Updated content will be re-imported
  • Deleted content will remain in the destination. It will not be deleted.


Subscribe with RSS Subscribe to RSS - Advanced