This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » View counter per site access and/or...
expandshrink

View counter per site access and/or locale?

View counter per site access and/or locale?

Monday 03 September 2012 1:26:55 pm - 1 reply

It's possible to have separate view_count per site access basis not just per node id only?

Each site access is a different country, and nodes have own translation per each locale.

Based on http://doc.ez.no/eZ-Publish/Technical-manual/3.8/Reference/Modules/content/Fetch-functions/view_top_list

Thank you!

Modified on Monday 03 September 2012 1:34:46 pm by D Robert

Monday 17 September 2012 7:21:45 pm

The ezview_counter database table only stores node_id and count, so what you need isn't possible out of the box.

You'll need a little bit of custom code - maybe an operator included in your pagelayout templates that stores and retrieves siteaccess view counts to corresponding rows in the ezsite_data table? Just a thought!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from