Abstract view and pdf view

I use OJS 3.0.2 and i want to add abstract view and pdf view/download. I just use this suggesting : Article statistics showing 0 abstract views and 0 PDF downloads - #2 by bozana

but i have a problem the code not show in here
1

but here
2

I delete some code
{translate key=“article.abstract”} viewed = {$article->getViews()} times
{if $galleys}
{foreach from=$galleys item=galley name=galleyList}
{$galley->getGalleyLabel()} | {$galley->getViews()} | times
{/foreach}
{/if}

to this :
viewed = {$article->getViews()} times
{if $galleys}
{foreach from=$galleys item=galley name=galleyList}
{$galley->getGalleyLabel()} | {$galley->getViews()} | times
{/foreach}
{/if}

they show up in border of page
3

Hi @Veliyana_L.A,

Is the problem that you want the viewed and downloaded statistics to appear below the article on the table of contents instead of on the detailed article page? Or do you also want it to appear in a different way? Which template file are you editing?

Thanks,
Amanda Stevens
Public Knowledge Project Team

i already solved that. thanks