- Upload the
selectbox_link_field
folder 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:
Red Cats
ornot: Red Cats
: Return all entries where the linked entry has the value ofRed Cats
(or does not have the valueRed Cats
)red-cats
ornot: red-cats
: Return all entries where the linked entry has the handle ofred-cats
(or does not have the handlered-cats
)1
ornot: 1
: Return all entries where the linked entry ID is1
, (or is not1
)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 entriessql: NOT NULL
: Return all entries that have a linked entry
Please note that predicate filters, such as not:
or sql:
, will ignore all other data source filters for that field.