Information
This product provide an easy way in Handling key value pairs which should be shown in for example drop down lists.
First you has to define a key to identify the whole list. For example mycontenttype-mydropdownfield
Than press save.
After you saved, a new link will apear for enter vocabulary valus.
Put every value in a new single line. The entered values will be numbered in ascending order starting by 1.
If you like to rename a value use the rename dropdown below the value list.
If you remove a key from the list, the value will only be hidden in the selection dropdown so the history will be working for older entries.
You an reactivate the entry by putting it again in the value list.
The following example returns a key,value pair list.
context.getBrowser('easyvoc').get('mycontenttype-mydropdownfield')
The following example returns the value for the key
context.getBrowser('easyvoc').get_value('mycontenttype-mydropdownfield',context.mycontenttype-mydropdownfield)
For getting translations running, enter values in you preffered default language an use po files.
The design is based on a bootstrap 2.3.x layout. Bootstrap is not included
Release files for tomcom.plone.easyvoc 4.3.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tomcom.plone.easyvoc-4.3.0.5.zip | 15.8 kB | Details |
Release files / tomcom.plone.easyvoc-4.3.0.5.zip
| Download URL | tomcom.plone.easyvoc-4.3.0.5.zip |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e118f9d5468b0a6b948fd6262c740eb1900f2b25701e3575b240a3aafc09829a
|
|
BLAKE2b-256 checksum How to use checksums |
670fb5193b0a34e6415f6873cd7aa0724bfc5203b7d7ef3044f64b1dda3c3e5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |