Questions tagged [views]
The Views module allows creating lists of entities with a flexible query builder.
15,236 questions
0
votes
0
answers
17
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
40
views
Facets v3 and ajax
Setup:
Drupal 11
Facets v3
view based on solr index - block
facets as exposed filters in view
view with ajax enabled
bef - to change filter to checkbox
I have a view based on solr index, where I ...
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 ...
0
votes
0
answers
29
views
Views Vanilla Javascript Slideshow (VVJS) repeating images below the cycling display
Update: This likely doesn't have anything to do with the VVJS slideshow module. If the related View is disabled or just removed from the page block originally assigned, the images associated with the ...
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
1
answer
53
views
How to pass arguments to webform entity_select element from another element value
Title: How I pass arguments to one entity_select based on another in Drupal 10 Webform
Problem Summary
Drupal Version: 10.4.5
Webform: 6.2.9
I have two webform_entity_select fields: Dog Type and ...
0
votes
0
answers
46
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
0
answers
17
views
Creating view that displays content by an entity reference
I am setting up a site that displays interview questions depending on a job category and job title. I have a taxonomy of Job Categories and two content types, Job Title and Interview Question. The Job ...
0
votes
1
answer
49
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
34
views
How to add VBO support to a custom entity?
I have a custom entity I created with drush generate entity:content. I created an admin view of my entity and I can display fields and add filters.
Now I want to add support for VBO. (I thought it ...
1
vote
1
answer
60
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 ...
1
vote
0
answers
47
views
EntityQueue not available as relationship for views of media items [closed]
I used EntityQueue module with Drupal 10 in a Node-View and it works perfectly.
But now i try to use entity queue with a Media View and there is no possibility to build a Relationship to Media content....
0
votes
1
answer
29
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 ...
1
vote
1
answer
82
views
How do I define a path alias for another language?
I have a Drupal 10 website and I have created a view with a path like 'prefixe/*'.
For SEO purposes, I use a content alias with a custom argument validator instead of the content ID. So my path is ...
1
vote
1
answer
60
views
How to prevent empty field wrapper from rendering in Views when using Twig conditions in View Rewrite Output?
I'm working on a Drupal 10 site with a content type named Event, which includes the following fields:
field_schedule
field_teaser_image
field_teaser_text
field_teaser_title
field_online_event
I've ...