1.2.0releasedIncremental Number Field
A field that automatically increments it's value by one for each new entry in a section.
Clone URLhttps://github.com/designermonkey/incremental_number.git
Add as a submodulegit submodule add https://github.com/designermonkey/incremental_number.git extensions/incremental_number --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.0.0 | 1.1.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 |
Readme
Incremental Number Field
A field that automatically increments it's value by one for each new entry in a section.
1. Installation
- Upload the
/incremental_number
folder in this archive to your Symphony/extensions
folder. - Go to 'System → Extensions' in your Symphony admin area.
- Enable the extension by selecting 'Field: Incremental Number', choose 'Enable' from the 'With Selected…' menu, then click 'Apply'.
2. Usage
- Add the field type 'Incremental Number' to a section of your choice.
- Define a valid 'Start Number' for the field (has to be a natural number, e.g.
0
or1
). - Now each time you create an entry in this section the 'Incremental Number'-field will automatically get populated by fetching the 'Incremental Number'-value of the previous entry and incrementing it by 1. If there is no previous entry in the section the field will instead get populated with the given 'Start Number'.
- You can't manually edit the values of an 'Incremental Number Field' – they're read-only.
Version history
Symphony 2.4.0 to 2.x.x
Symphony 2.3.0 to 2.6.x
- Cleanup & Symphony 2.3 compatibility.
Symphony 2.2.0 to 2.2.x
- Initial release