I have implemented a blog with orchard and now I need to get view count of posts. Goal is:
- get 5 top viewed post in a list
- display view count on each blog post
I have tried various solution but so fore none works, view count is always 0.
Not working for me (on 1.6)
using voting module (no idea how to use, no docs) https://orchardvoting.codeplex.com/documentation
Content view count (always 0) http://gallery.orchardproject.net/List/Modules/Orchard.Module.NGM.ContentViewCounter
Top views (always the same top post with 0) http://gallery.orchardproject.net/List/Modules/Orchard.Module.galgodage.TopViews
Does anybody has successfully used or implemented this functionality? Thanks
Edit: I see this error in logs (no idea what module may have caused it)
Orchard.DisplayManagement.Implementation.DefaultDisplayManager
RuntimeBinderException thrown from Action`1 by
System.Action`1[[Orchard.DisplayManagement.Implementation.ShapeDisplayingContext,
Orchard.Framework, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null]]
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:
Can not implicitly convert type
'Orchard.Modules.Models.ModuleEntry' in 'Orchard.ContentManagement.ContentPart'
in CallSite.Target(Closure , CallSite , Object ) in
Orchard.DesignerTools.Services.WidgetAlternatesFactory.
<Displaying>b__5(ShapeDisplayingContext displayedContext) in
Orchard.DisplayManagement.Implementation.DefaultDisplayManager.<>c__DisplayClassc.
<Execute>b__5(Action`1 action)