Displaying abstract galley views in sidebar of article details (manuscript-jats theme)

Hi @Vitaliy
I want to display abstract galley views in the sidebar

Where I can add the codes?

{translate key=“article.abstract”} viewed = {$article->getViews()} times
{if is_a($article, ‘PublishedArticle’)}{assign var=galleys value=$article->getGalleys()}{/if}
{if $galleys}
{foreach from=$galleys item=galley name=galleyList}
{$galley->getGalleyLabel()} downloaded = {$galley->getViews()} times

I have tried adding into any place of plugin/theme/manuscript-jats/template/objects/articledetails
but it does not work yet

Thanks in advance

I don’t know the code for the galleys views count. But that sidebar is starting from here:

1 Like