Recent Topics

1 Nov 04, 2005 17:40    

I'd like to display the count how many times a post was viewed, like it is displayed on the b2evolution demo page.

According to the docu the function is

void views()

so I added the following line:

$Item->views();

to my _main.php but unfortunately I only get the error

Fatal error: Call to undefined function: views() in /var/www/apache2-default/blogs/skins/custom/_main.php on line 95

Does anyone have an idea what I'm doing wrong? I'm using the template that is selected by default (custom).

3 Nov 08, 2005 13:14

I checked the demo page and you're absolutely right, the upcoming version contains the view count, while the current version doesn't. I overlooked that propably.

The Hit Counter solution you mentioned worked perfectly. and via the forum article it was easy to implement.

Thank you very much for the quick help.


Form is loading...