ali-sokhandan / ojs3-keywordcloud-plugin

A block plugin to provide a tag cloud of article keywords.
GNU General Public License v2.0
5 stars 18 forks source link

Any support for OJS 3.1.2? #3

Open Ph-We opened 5 years ago

Ph-We commented 5 years ago

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!

mpbraendle commented 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.

mpbraendle commented 5 years ago

OK. Found the solution myself. Within the plugin directory, create a directory templates mv block.tpl to the templates directory. Restart PHP/Webserver -> works.

mpbraendle commented 5 years ago

@ali-sokhandan, please apply my suggested change so that the plugin can get listed again in the OJS plugin gallery.

hilongo commented 5 years ago

I can confirm @mpbraendle 's solution works. Thanks a lot!

tehaef commented 5 years ago

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

diegoabadan commented 4 years ago

I created a fork and generated a release with the fix: https://github.com/lepidus/ojs3-keywordcloud-plugin/

ali-sokhandan commented 4 years ago

dear @diegoabadan thanks so much for your consideration, would you mind please send the merge request.

diegoabadan commented 4 years ago

Hello @ali-sokhandan ! Follows the PR: https://github.com/ali-sokhandan/ojs3-keywordcloud-plugin/pull/5

ali-sokhandan commented 4 years ago

Hello @ali-sokhandan ! Follows the PR:

5

its done. thanks.