Questions tagged [views]
The Views module allows creating lists of entities with a flexible query builder.
15,235 questions
-1 votes
0 answers
23 views
How can I do sequential API calls? [closed]
I need to make several API requests, but each request depends on the previous one or needs to be made in a sequence because the order of requests is essential for processing the data correctly. How ...
0 votes
0 answers
19 views
How to create "Other events on this date" view (block)
I have a content type that has a field "field_start_date" that is a date/time field. I want to do a block on pages for that content type that shows other events from the same day. I set up ...
0 votes
0 answers
43 views
Issue with taxonomy term ID and views
I'm using Drupal 10 with the Bootstrap 5 theme. I created a pattern with product/tag/[term:name] and set up a few brands in the taxonomy. The links became, for example, mysite.com/product/tag/brandone ...
2 votes
0 answers
36 views
How to translate the menu path / URL of a View with a contextual filter?
I have a view with a contextual filter whose values are provided by the URL parameters. The "menu path or URL of this view" set to view_path/%. I would like to be able to translate this so ...
0 votes
0 answers
48 views
How to avoid caching problems when "Remember the last selection" is used with Views exposed filters in block
The Views page display in question uses exposed filters in block, Better Exposed Filters, no AJAX. It is restricted to a particular role. The exposed filters all have "Remember the last selection&...
0 votes
1 answer
58 views
Trying to get the layout_builder content data via JSON:API
I am trying to extract the body content from layout_builder_layout ,But I cant able to get data from the REST API (/jsonapi/node/page),even I tried to create custom module ,remains same . But I can ...
1 vote
1 answer
70 views
How to add a view for managing custom entities like Node and Media do?
I have a contrib module that uses a custom entity I generated with drush generate entity:content. By default, this has an EntityListBuilder class. I decided I wanted to have a view to manage my entity ...
0 votes
1 answer
30 views
Add a filter for 'This year' and 'Next year'
I've found plenty of articles describing how to add views filters for years, a dropdown displaying 2024, 2025, 2026 etc, however I want to display a rolling filter (so it doesn't need to be changed ...