Hello!
I have updated my website from Open Journal Systems (OJS) 3.3 to version 3.5.
Now I am facing an issue: I cannot configure the display of article view statistics and the number of PDF downloads on the journal issue page (the page with the list of articles) .
In OJS 3.3, this was solved by adding the following code to the file templates/frontend/objects/article_summary.tpl:
{assign var=galleys value=$article->getGalleys ()}
{translate key="article.numberofviews"} {$article->getView s()}
{if $gal leys}
{foreach from=$galleys item=galley name=galle yList}
| {translate key="article.numberofdownloads"} {$galley->getV iews()}
{/ foreach}
{/if}
However, this code no longer works in the ne w versio n.
Could you please advise how this can be implemented in OJS 3 .5 ?
