Abstract views, PDF views and Download Stats Made Public 😶

Hi @Dein,

The code to do that is basically this one:

{translate key="article.abstract"} - {$article->getViews()}
{if $galleys}
        {foreach from=$galleys item=galley name=galleyList}
                {$galley->getGalleyLabel()} - {$galley->getViews()}
        {/foreach}
{/if}

This can be used inside the templates/article/article.tpl file directly. Of course you will need to add extra markup to make it look nice, but from the coding perspective, this is it.

Cheers,
Bruno

5 Likes