Mecha CMS

Add extra functionality to the core engine.

Page View

Table of Contents
  1. Usage 

Page views counter.

Download Stable Version Download Development Version

Something looks broken? We accept bounties to fix them faster.

v2.4.318 Downloads
v2.4.29 Downloads
v2.4.18 Downloads
v2.4.08 Downloads
v2.3.18 Downloads
v2.3.09 Downloads
v2.0.413 Downloads

This extension adds a view property to the current page with dynamic value. Each page visit will increment the view property value by one.


To show the current page views, add this to the page.php file in your active skin:

<?= $page->view; ?>