Download the PHP package eab/unique-datatypes-bundle without Composer
On this page you can find all versions of the php package eab/unique-datatypes-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eab/unique-datatypes-bundle
More information about eab/unique-datatypes-bundle
Files in eab/unique-datatypes-bundle
Package unique-datatypes-bundle
Short Description eZ Unique Datatypes extension for eZ Publish
License GPL-2.0
Homepage https://github.com/eab-dev/UniqueDatatypesBundle
Informations about the package unique-datatypes-bundle
EabUniqueDatatypesBundle
Summary
eZ Publish 5/Platform bundle wrapping eZ Unique Datatypes extension for eZ Publish 4.0.
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).
Fields using these datatypes can be displayed using the Symfony stack. To edit them you need to use the legacy stack.
More documentation
Copyright
Portions copyright (C) 2007 mediaSELF.pl Portions copyright (C) 2015 Enterprise AB Ltd
License
Licensed under GNU General Public License 2.0
Requirements
Requires eZ Publish 5 or eZ Platform.
Installation
-
You can use composer to install the bundle. If you have eZ Platform, use version 2:
If you have eZ Publish 5, use version 1:
Or clone the bundle using git:
-
Edit the file
ezpublish/EzPublishKernel.php
, look for the functionregisterBundles()
and add: -
Run (in Windows you should be administrator to create symlinks):
-
Use eZ Publish's admin interface to add a field using this datatype to a content type and create some content.
- Test it in a Twig template using the
ez_render
function.