Hot answers tagged

2

The closest match to the link you shared is the Entity Browser module. Goal of this module is to provide a generic entity browser/picker/selector. It can be used in any context where one needs to select few entities and do something with them. The module allows you to build your own widgets (similar to the Media Library) to use with entity reference fields ...


1

One alternative approach is to use the exposed sort options provided by Views. Adding exposed sort options is similar to adding exposed filters: Add a sort option in the Sort Criteria section of the View UI. (It's right below the Filter Criteria section) For the sort options you want exposed, check the box to "Expose this sort to visitors, to allow ...


1

Here's what you can do: First, add then config the contextual filter like this: Then you update the header like this: You can update the header status at this step also. And then here is the result: One more thing need you to handle: The exception when the filter value is not in the url. Can it be your part?


1

There is a issue as you ask the question. The current answer is that Drupal 8 does not yet support this feature besides node content type. I'm also following this issue. more details at: https://www.drupal.org/project/drupal/issues/2915933 https://www.drupal.org/project/drupal/issues/1040786


1

By default, all Filters get added to the same Filter Group (a filter group is just a group of filters that share a logical operator, e.g. AND or OR). The default behavior is to put all filters into the same group with the logical operator AND. This means that if you have Filter A, Filter B, and Filter C, the view will only produce results that have the value ...


1

You can enable Twig debugging for your site in sites/default/services.yml parameters: twig.config: debug: true Clear cache Inspect element in the browser and you will see the path to the template Copy the template to your custom theme's templates/ directory and adjust the markup


Only top voted, non community-wiki answers of a minimum length are eligible