We want to include the Citation Style Language plugin to make life that much easier for authors when citing one of our journals’ articles. But the plugin grabs the year from issues->date_published, not issues->year, which makes the citation wrong for all back issues. Am I missing something or do I have to go into the database and change every instance of “date_published” to match “year”?
Forgot to mention. For some reason we have not been able to sort out we are unable to edit back issues. We get an error saying we do not have access to that part of the editorial flow (despite being assigned all roles).
Also. Leaving the date blank for each article should cause it to use the issue’s date as publication date, but it doesn’t. At least not if you change the issue’s date after adding the articles.
we have the same problem with old articles (before 2015) which we have uploaded online in 2015. This date appears in the citation for all articles, no matter what the correct date is.
Is there a possibility to change the citation plugin so that it takes the information from the issue publication year rather than from the article data?
There is an old discussion about this, and there is no real solution by PKP.
I’ve adapted the CSL plugin so that one choose whether the publication date of the article or the year should have precedence, and can share my code on GitHub, if needed.
I’ve adapted the CSL plugin so that one choose whether the publication date of the article or the year should have precedence, and can share my code on GitHub, if needed.
If you don’t mind sharing it - it would be very useful indeed, thank you!
This fix is for OJS 3.4.0-x, if you run an older or newer version, you have to to port it.
@asmecher I don’t do a PR on this due to other changes (e.g. using COAR types for passing the type the CSL processor, adding other CSL files). But it might be worth looking at it.