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.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.01.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.21.2.2

Readme

Unique Index Field Extension

Installation

  1. Upload the 'uniqueindex' folder in this archive to your Symphony 'extensions' folder.

  2. Enable it by selecting the Unique Index extension, choose Enable from the with-selected menu, and then click Apply.

  3. 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