-
Notifications
You must be signed in to change notification settings - Fork 4
Search button
Robert Garrigos edited this page Oct 17, 2024
·
1 revision
- To add the search button in a references field you need to add it in the field's settings:
- Then, you need to create a view with a references dialog search display:
- Ad at least one title field WITH the "link to the original piece of content" OR, if you don't want the link, the NID field (even if it is hidden from the view). Without it, you will get an error when clicking on the search link:
- Look for the References dialog block in the view:
It reads "broken field" because you have to attach this references dialog search display view to the reference field you want this button added to. In this example is the "animal" field in the "post" node type:
- Save the view AND clear cache, otherwise you will not see the search button:
- After that, you will have the search button in your field.