1.2releasedSelect Box Link Field Combo
It allows creation of chained selects in Admin.
Clone URLhttps://github.com/vlad-ghita/selectbox_link_field_combo.git
Add as a submodulegit submodule add https://github.com/vlad-ghita/selectbox_link_field_combo.git extensions/selectbox_link_field_combo --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 | No | 1.2 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Select Box Link Field Combo
It allows creation of chained selects in Admin.
- Version: 1.2
- Build Date: 2012-05-11
- Authors:
- Requirements:
- Symphony 2.3
- Select Box Link Field
1. Instalation
- Upload the 'selectboxlinkfield_combo' folder in this archive to your Symphony 'extensions' folder.
- Enable it by selecting the "Field: Select Box Link Combo", choose Enable from the with-selected menu, then click Apply.
- You can now add the "Select Box Link Combo" field to your sections.
2. Usage
- Works in an identical way to the standard
SBL
with some additions for parent relation. - Setting an instance of the field to be not required will cause an empty option to show up on the publish form.
- Always the root of a chain will be a SBL.
The settings of Select Box Link Combo describe the behavior of the field. You will need to set the following:
Parent
of the select. It will be another SBL / SBLC from current section.Values
the options which will populate the select.Relation
an external SBL (from another section) describing relations betweenValues
andParent
.
3. Example
SBL = Select Box Link
SBLC = Select Box Link Combo
Lets say you have a Persons
Section and each person has to be localized on the globe by Continent->Country->City. You would create the following sections to store the info:
Section Continents
1. Text Input
- name
: Title
Section Countries
1. Text Input
- name
: Title
2. Select Box Link (SBL#1)
- name
: Continent
- values
: Continents->Title
Section Cities
1. Text Input
- name
: Title
2. Select Box Link (SBL#2)
- name
: Country
- values
: Countries->Title
Section Persons
1. Text Input
- name
: Name
2. Select Box Link (SBL#3)
- name
: Continent
- values
: Continents->Title
SAVE the Section first. Next field needs SBL#3's ID from Database
3. Select Box Link Combo (SBLC#1)
- name
: Country
- parent
: Persons->Continent (SBL#3)
- values
: Countries->Title
- relation
: Countries->Continent (SBL#1)
SAVE the Section first. Next field needs SBLC#1's ID from Database
4. Select Box Link Combo (SBLC#2)
- name
: City
- parent
: Persons->Country (SBLC#1)
- values
: Cities->Title
- relation
: Cities->Country (SBL#2)
Enjoy!
Version history
Requires Symphony 2.3
- Updated for Symphony 2.3.
Requires Symphony 2.2.3
- Disabled toggle values
With selected
dropdown on index pages.
Requires Symphony 2.2.3
- Initial release.