Skip to content

Extends the RainLab.Blog plugin to track post views

License

Notifications You must be signed in to change notification settings

vdomah/blogviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Views Extension

This plugin is an extension to the RainLab.Blog plugin. This extension add views tracking to blog posts and allows to add views counter to a post and display popular posts widget.

Adds dynamic views property to Post model: {{ post.views }}

Components

Popular Posts

The popularPosts component can be used to display top viewed posts.

  • postsLimit - The max number of posts to show.
  • postPage - Reference to the page name for linking to posts.
  • noPostsMessage - Message to display when there are no posts.

Views (counter)

The Views component can be used to display post views number. In most cases use just {{ post.views }} without this component.

About

Extends the RainLab.Blog plugin to track post views

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published