3.4 3.3
Jump to table of contents

Examples

Plugins can be put to a wide variety of uses. The examples below show you how to do things that many plugins may need to do.

  • Plugin Template - A working starter plugin that you can use as a base for your own plugins.
  • Add Styles and Scripts - How to add a CSS stylesheet or JavaScript file to the backend.
  • Create Vue.js components - Example plugin illustrating how to extend backend UI with own Vue.js components.
  • Context and Site - How to distinguish between one journal and the admin area in your plugin.
  • Get Data - How to get some data to display in your plugin.
  • Get Data from the Template Manager - How to read data that has been assigned to a template when you hook into the template.
  • Database Tables - How to add a database table that is managed by the plugin.
  • Add Custom Fields - How to modify an existing settings form to add a new setting.
  • Add Custom Page - How to create a custom page with it’s own URL and load it in the backend.
  • Events and Listeners - How to use listeners to subscribe to events in the core application.
  • Add Editorial Decision - How to add, edit or remove an editorial decision to customize the workflow.
  • Mailgun - An example plugin to send outgoing email through the Mailgun service.
  • Extend a Map - How to extend a map, for example to modify the data returned in a REST API response.