OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
We're busy developing a new Generic Plugin for OJS. This plugin will have a function to email certain users by using a Prepared Email in OJS.
We would like not to create this Prepared Email for each OJS site manually, but the Generic Plugin should create the Prepared Email template on installation.
We've tried to use the getInstallEmailTemplatesFile() and getInstallEmailTemplateDataFile() functions, but the Prepared Email is not created in the database on Generic Plugin installation.
Is there documentation available or maybe an example of another plugin which creates a new Prepared Email on installation?
- Posts: 51
- Joined: Mon Dec 07, 2009 1:41 pm
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 0 guests