Monday 12 February 2007 8:59:59 am
It's me again... I don't know why, but the view_count is too high for many nodes. I have place this {def $nbclics=ezviewcounter( $node.node_id, true())}
in the full view of my song class in order to update the count and display it, and this {ezviewcounter( $node.node_id)}
in her line view in order to just display the number of clics.
And when I access a node who have the count at 0, I first view it by her line view, she says "0", so all is ok. Then I click on the line view (href), I come to the full view and the couner says me "1", so all is ok. But when returning to the line view, (by viewing the parent node's full view of the song), the counter says me "2", or "3" (I have made this scenario many times, and the result is variant). It seems that when I call {ezviewcounter( $node.node_id)}
the counter is updated...
eZ Publish Freelance
web : http://www.webaxis.fr
|