2 balupton Feb 03, 2007 07:25

Hmm, couldn´t get it working... always returns Fatal error: Call to a member function on a non-object ...
Where exactly I have to insert
$Item->views();
in the TOP-List hack?
You need to use $TOPART_ITEM->views(); ;)
¥
Ok... right, but this returns "xxx views"; how can I just return the number of views as simple number?
echo $TOPART_ITEM->views;
;)
¥
Perfect; thanks again!!!
will display the views.
imho your better off using the technical docs at http://doc.b2evolution.net if you want to find out how what stuff you can use. Or the best way would just be to look at how your skin (or another skin) does it.