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.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 1.3 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.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
- Upload the
incrementnumberfield
folder in this archive to your Symphonyextensions
folder. - Enable it by selecting "Increment Number" on the Extensions page.
- 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 valueincrement
will increase the value by1
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