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.
  • 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.
  • 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.