eZ Unique Datatypes extension for eZ Publish 4.0
See http://projects.ez.no/ez_unique_datatypes
This is a collection of common datatypes whose validation has been extended so to verify their uniqueness within given content object attribute. Otherwise, these datatypes behave exactly as their prototypes.
Currently there are two datatypes provided:
- Unique string (based on Text line system datatype),
- Unique URL (based on URL system datatype).
Copyright (C) 2007 mediaSELF.pl
Licensed under GNU General Public License v2.0
Requires eZ Publish 4 or eZ Publish 5 Legacy Edition.
-
Copy the
ezuniquedatatypes
folder to theextension
folder. -
Edit
settings/override/site.ini.append.php
and under[ExtensionSettings]
add:ActiveExtensions[]=ezuniquedatatypes
-
Update the autoloads array and clear the cache:
bin/php/ezpgenerateautoloads.php bin/php/ezcache.php --clear-all
Edit classes and add attributes using the relevant datatype.