Open Ph-We opened 5 years ago
If installed properly, the plugin fails with the following error message: PHP Fatal error: Uncaught --> Smarty: Unknown resource type 'plugins-plugins-blocks-keywordCloud-blocks-keywordCloud' <-- thrown in /usr/local/service/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php on line 112
Looks like something has been changed with the upgrade of Smarty. Please have a look at it.
OK. Found the solution myself. Within the plugin directory, create a directory templates mv block.tpl to the templates directory. Restart PHP/Webserver -> works.
@ali-sokhandan, please apply my suggested change so that the plugin can get listed again in the OJS plugin gallery.
I can confirm @mpbraendle 's solution works. Thanks a lot!
One should consider though that this solution seem to be not backwards compatible with earlier OJS 3.1.X versions (at least according to my tests). I don't know if this poses an issue to you. It can however be circumvented by symlinking block.tpl to the plugins main folder but perhaps that's a bit hacky...
I created a fork and generated a release with the fix: https://github.com/lepidus/ojs3-keywordcloud-plugin/
dear @diegoabadan thanks so much for your consideration, would you mind please send the merge request.
Hello @ali-sokhandan ! Follows the PR: https://github.com/ali-sokhandan/ojs3-keywordcloud-plugin/pull/5
Hello @ali-sokhandan ! Follows the PR:
5
its done. thanks.
Hi @ali-sokhandan, would you be so kind to respond in this topic? https://forum.pkp.sfu.ca/t/keyword-cloud-plugin-for-ojs3/38938/42 Thanks!