[OJS 3.1.2] [Resolved!] Custom Generic Plugin - Triggering Hook Functions

Hi @wangra,

This is a bit of gotcha: when you introduce a plugin to the filesystem, some parts of it will work, but because it hasn’t been registered in the database, other parts won’t. The plugin installation process (e.g. plugin gallery) takes care of this, but when you’re coding up a plugin yourself (or avoiding the plugin installation process) you have to register the plugin with the database yourself.

To do this, use the lib/pkp/tools/installPluginVersion.php tool.

Regards,
Alec Smecher
Public Knowledge Project Team