1.5.2releasedIncrement Number

Increments a number each time an entry is shown in a page. Useful for simple hit counters.

Clone URLhttps://github.com/symphonists/incrementnumberfield.git

Add as a submodulegit submodule add https://github.com/symphonists/incrementnumberfield.git extensions/incrementnumberfield --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNo1.31.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.21.5.2

Readme

Increment Number Field

Increments a number each time an entry is shown in a page. Useful for simple hit counters and generating sorted "most popular" lists for your content.

Installation

  1. Upload the incrementnumberfield folder in this archive to your Symphony extensions folder.
  2. Enable it by selecting "Increment Number" on the Extensions page.
  3. You can now add the "Increment Number" field to your sections.

Usage

Add the field to a section. When selecting these entries via a data source choose between the two output modes:

  • view returns the current value
  • increment will increase the value by 1 when the data source executes

Version history

Symphony 2.3 to 2.x.x

  • PHP code style NULL -> null

Symphony 2.3 to 2.x.x

  • Updated for PHP 7

Symphony 2.3 to 2.x.x

  • Updated for Symphony 2.5+ compatibility
  • Add Slovak translation
  • Default value to 0

Requires Symphony 2.3

  • Updated for Symphony 2.3 compatibility
  • No longer requires the Number field to be installed, yay!

Symphony 2.2 to 2.2.x