Need view_count in parameters overview

The thumbnails have a view count. I like that and I want the view count to also appear on the imageview page in the parameters overview.
I hoped it would be enough to copy the same code from thmb.tpl.php to parameters.tpl.php but that didn't work.
The code I copied is:
? if(isset($view_count)){ ?>
tr>td>? p("ID_MSG_VIEW_COUNT",$view_count);?>/td>/tr>
? }

How can I do this?

Thanks
Paul

Variable $view_count is not

Variable $view_count is not defined in imageview, i'll have to chage that. In this version you would have to change the code not only the template.

Patrik

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">