1.2.2releasedUnique Index Field
A field to define unique index fields for a section.
Clone URLhttps://github.com/animaux/uniqueindex.git
Add as a submodulegit submodule add https://github.com/animaux/uniqueindex.git extensions/uniqueindex --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 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 |
Readme
Unique Index Field Extension
Installation
Upload the 'uniqueindex' folder in this archive to your Symphony 'extensions' folder.
Enable it by selecting the Unique Index extension, choose Enable from the with-selected menu, and then click Apply.
Now add the Unique Index field to your sections after this extension was created and select the fields that defines de unique index.
Description
With this field you can select fields of a section to define a unique index (e. g. a unique set of values).
An error message is displayed when the index of an entry is not unique.
This extension is useful if do you want to define a unique set of values for more than one field, or if do you want to make a type of field unique that doesn’t have this option itself.
Attribution
This very nice extension has been developed by Guillem Lorman and has been kindly transfered to me.
TODO
- fix implode() error when deselecting all fields
Version history
Symphony 2.3 to 2.x
+ removed deprecated about() function
Symphony 2.3 to 2.x
+ update compatibility info
Requires Symphony 2.3
+ PHP7 support
+ included PR https://github.com/6ui11em/uniqueindex/pull/2/commits/29c57a8b9d7b17fb67ebf40d2547940f051d9262
+ support for association fields
Requires Symphony 2.3
Requires Symphony 2.2