Hi
I’m an newbie in ojs
I’m working on plugin there have to be upgrade to ojs 3.
The problem is the setting page for the plugin before the setting page was loaded like this
parent::__construct($this->getTemplateResource(‘settingsForm.tpl’))
I changes that to :
parent::__construct($plugin->getTemplateResourceName(false) . ‘:templates/settingsForm.tpl’);
But I get this error :
PHP Warning: Smarty error: unable to read resource: "plugins/plugins/generic/myplugin/generic/myplugin:templates/settingsForm.tpl" in /var/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php
What is the right way to load a setting page for a custom plugin?