Recent Topics

1 Jul 31, 2014 16:08    

Hi, i try to add the tag $Item->views to my template
i use this:
$Item->views( $zero = '#', $one = '#', $more = '#' );
and what i get it:
"5 views"
how can i change or delete the word "views" that i get only the number of views?

thanks

2 Aug 01, 2014 22:40

Hi @denis012,

You may control it by passing the parameters this way:


$Item->views( 0, 1, '%d' );


Form is loading...