Select Box Link Field
- Upload the
selectbox_link_fieldfolder in this archive to your Symphony 'extensions' folder.
- Enable it by selecting the "Field: Select Box Link", choose Enable from the with-selected menu, then click Apply.
- You can now add the "Select Box Link" field to your sections.
- Be sure to visit the Extension page in the Symphony admin and enable "Select Box Link Field" so the database is updated accordingly.
Works in a near identical way to the standard select box field, however there is no static options and entries are linked internally via their ID, meaning that if an entry is changed, any Select Box Link fields will not lose their link to that entry. The data on the front-end is presented in a way identical to that of a Section Link.
Setting an instance of the field to be not required will cause an empty option to show up on the publish form.
The Select Box Link supports the following filtering options in your data sources:
not: Red Cats: Return all entries where the linked entry has the value of
Red Cats(or does not have the value
not: red-cats: Return all entries where the linked entry has the handle of
red-cats(or does not have the handle
not: 1: Return all entries where the linked entry ID is
1, (or is not
sql-null-or-not: 1: Return all entries where the linked entry ID is not 1 or the entry has no linked entries.
sql: NULL: Return all entries that do not have any linked entries
sql: NOT NULL: Return all entries that have a linked entry
Please note that predicate filters, such as
sql:, will ignore all other data source filters for that field.
The sorting is activated only if ALL related field are sortable.
Right now, to be sortable, the related field must have a
value column in the entries data.