Hi @NateWr,
I am testing OJS 3.4.0.1 bootstrap 3 theme and have noticed a problem in the article-details page. How to cite block is appearing twice and the "download citation button " is not working as well. Hope you can look into this and offer a solution.
OJS 3.4.0.1
PHP 8.1
Bootstrap3 Plugin version: v3.3.0.0 released on 11-04-2023
Thanks
seisense
1 Like
I confirm that I have the same problem
in the article_details.tpl file the double how to quote at the end of the article is not invoked. I have no idea why you duplicate it
Can you share an example URL?
In article_details.tpl
, I only see one instance of the “How to Cite” block:
The positioning in the screen shot from SEISENSE above makes me wonder if the second instance is being injected by a plugin into the “Templates::Article::Details” hook.
this is an url
which plugin do you think can do this?
This looks very much like a plugin which is adding the default theme’s “How to Cite” into bootstrap3’s Article Details hook. What generic plugins do you have enabled?
Hi,
In article_details.tpl of bootstrap 3 theme at line no 385 plugin “how to cite” code {call_hook name=“Templates::Article::Details”} is injected. After removing this line problem is resolved.
Thanks
seisense
perfect!
the path of the file to edit is:
plugins/bootstrap3/templates/frontend/objects/article_details.tpl
thanks!
Hi @ctgraham and @RBoelter ,
I think deleting this hook is not a good solution to solve the problem. If this hook is deleted from the article_detail.tpl then temporarily problem was solved. But now another plugin “citations plugin” does not show up on article details page.
And if this hookk is enabled then scopus citations plugin become visible on aritcle details page but then “How to cite” again appear twice as it was reported above.
Looking forward to some resolution to this issue.
Thanks
seisense
Hi, @seisense . If I were troubleshooting this, I would disable each generic plugin one at a time, and then refresh the article page after disabling the plugin. This would serve to show whether any one of the generic plugins was duplicating the content into the hook.
Hi all,
FYI, there were recent updates made to many of the theme plugins to resolve the problem of duplicated citation listings – for example, this change made to the Classic theme plugin.
Regards,
Alec Smecher
Public Knowledge Project Team
1 Like