Dates plugin doesn't work

Hi @ajnyga,

I am very sorry, but I don’t know how to get your Dates plugin installed. I have copied the plugin to under the plugins/generic. But after opening Settings-Plugins there is no Dates plugin, also I don’t notice any change on the articles landing pages.

I downloaded the plugin from the branch ojs-3_1_1 and tried on OJS and OJS 3.1.2-4. The same behavior on both.

Regards, Primož

did you check your error log?

Hi @ajnyga,

I have set up the OJS 3.1.2-4 locally and tried it. This is the error I get in the php log:

[03-Mar-2020 19:50:16 Europe/Ljubljana] PHP Fatal error: Uncaught → Smarty: Unable to load template ‘app:plugins/generic/dates\templatestemplates/dates.tpl’ in ‘app:frontend/objects/article_details.tpl’ ←
thrown in C:\Apache24\htdocs\ojs-3.1.2-4\lib\pkp\lib\vendor\smarty\smarty\libs\sysplugins\smarty_internal_template.php on line 195

Any idea what is wrong?

Best regards, Primož

thanks, it was an error in the template: