ORIENT/plugins/vdomah/blogviews
merdan ac002c1ac1 reklama 2021-04-08 13:08:59 +05:00
..
components reklama 2021-04-08 13:08:59 +05:00
lang/en view statistics 2021-03-15 11:23:49 +05:00
models view statistics 2021-03-15 11:23:49 +05:00
updates view statistics 2021-03-15 11:23:49 +05:00
vendor view statistics 2021-03-15 11:23:49 +05:00
LICENCE.md view statistics 2021-03-15 11:23:49 +05:00
Plugin.php view statistics 2021-03-15 11:23:49 +05:00
README.md view statistics 2021-03-15 11:23:49 +05:00

README.md

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

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.