The Views module allows creating lists of content with a flexible query builder.

learn more… | top users | synonyms (2)

0
votes
0answers
8 views

Randomizing nodes in a view display

I've tried the solutions here: Display random value from multi-value field in Views And here views... two random nodes to vote on This is what I have: A content type (Inventory) involving a field ...
0
votes
1answer
13 views

How to modify sort order using PHP?

I want to re-order the results of a View using some arbitrary PHP ( the sort is not possible in SQL ). I believe I could use either _views_pre_render(&$view) or ...
0
votes
0answers
18 views

Add Calendar View a infinite scroll pager

I use calendar views (day/week/month) and they have a pager "Page by date". But there is a lot of result in that pages especially week and month views. I use infinite scroll in my other views but in ...
0
votes
1answer
16 views

MySQL query for getting blog records/content Drupal7?

I want to customize the and limit the content from the blog entry. If I want hook the sql query output for blog entry, How can i do it? Please help me.
2
votes
1answer
19 views

Display data from web service using views

I need to query data from a web service and display it in a view without storing the data in Drupal database. I am using WSData module for this purpose but I am unable to figure out how and when the ...
0
votes
1answer
15 views

Alter content of search api views

I've used drupal7, Search API 7.x-1.16, Search views 7.x-1.16, Solr search 7.x-1.9, Apache Solr search 7.x-1.7. I am listing contents of some content type. Now i want to trim description field only ...
2
votes
1answer
45 views

How do I display images from a field in a View as grid?

I have a view that displays images from an image field of a specific node and I want to display those images in a grid but Views groups them together so the whole node is put into the grid cell ...
0
votes
0answers
7 views

Show a users Redhen memberships within a view with users as base table

I'm attempting to show a list of all users and their associated memberships (typically more than 1 per user). The setup I currently have is: Users base table Relationship 1 = Contact: User Contact ...
3
votes
1answer
19 views

How to dynamically change the text of the Global: result summary based on exposed filter on Views?

There is a content type and it has a field called field_type. It's a select list and there is 5 options to select such as AAA, BBB, CCC, DDD, EEE. I'm using the Views module to list the nodes of this ...
1
vote
1answer
23 views

How to translate the views page title?

Is there a way to translate a views page title in Drupal 8? If yes, please explain.
2
votes
1answer
16 views

Change the way a Content Type is displayed depending on user

I'm currently trying to create an MMO (= Massively Multi Onlineplayergame) in Drupal while learning it. To do this I want to be able to change the way a Content Type is displayed depending on what ...
0
votes
0answers
7 views

View: display nodes based on user selected preference

I'm struggling with a view, principally the contextual filter. As shown in the picture below (trying to make it clear): My users can select in which products they are interested (through taxonomy, ...
0
votes
0answers
4 views

Toggle different slideshow options for picture page

A section on my website allows users to upload lots of pictures. Everyone has a different taste to view these images (big/small size/ automated slideshow, using pagers exc...) I was thinking to ...
0
votes
0answers
11 views

Views pager with anchor on another page?

I'm creating a page that have two sections, one with an image, as a "presentation", and other at the bottom that has a list, created with a View. That list have pagers created with the "Views Simple ...
0
votes
0answers
17 views

Imported view is only showing one result line [on hold]

I have imported a view from another Drupal 7 installation, but now there is only one result line shown although there are more than one that fit for this view. If I clone the imported view or build ...
0
votes
0answers
6 views

Define permissions for Actions?

function custom_mod_action_info() { return array( 'custom_mod_delete_user_cats' => array( 'label' => t('Delete a users cats'), 'type' => 'user', 'configurable' => ...
0
votes
1answer
13 views

How to hide 'Configuration' tab for specific [on hold]

I'm looking for a way to configure the Backend for a specific user. For example: I want to hide the 'Configuration' tab.
0
votes
0answers
9 views

hook to change album views for users [on hold]

Is it possible to offer users different options on how to view album photos? Currently, it just defaults to a flexslider that I have put as default on my image style. Is using ...
0
votes
1answer
9 views

Drill-down contextual filtering

I've created a view called "Upcoming Events" that presents upcoming events in chronological order at the url /upcoming-events/all. Each event has associated tags. Currently my contextual filter is set ...
0
votes
2answers
28 views

Create a view of nodes to which a user is a member

How do I create a view of Nodes that a logged in user is a member of? Is this enforced in Relationships or Contextual Filters? That is, can you explain how group membership is enforced via ...
1
vote
0answers
18 views

Create block of popular taxonomy

I am trying to create a block showing the latest tags of a particular Organic Group (only the tags of that organic group should be shown and not all the website's terms!) I have added the following ...
0
votes
0answers
15 views

Views 8.x fields collection relationship

In D7 views it was very easy to get to a particular field from field collection - by relationship. How about now? I can not see any relationship connected with this collection. I am able to display ...
1
vote
2answers
25 views

Remove label Search terms from Views exposed form

On this site in the sidebar i have a views_exposed_form to search. I need this search functionality to show my search results for restricted pages. How do i remove the label 'Search Terms'. Is it ...
-1
votes
0answers
37 views

How to Bootstrap Drupal with Views [on hold]

There is lots of documentation on [how to bootstrap Drupal] in a stand-alone PHP file1: <?php // Get path of drupal install. $drupal_path = $_SERVER['DOCUMENT_ROOT']; // Create a constant ...
0
votes
1answer
12 views

Editable webform fields in views

I'm using drupal 7.41 and have used Webform for my leave applicaiton form and there are such approvals fields that I've displayed in views, I'd like to make it editable in views by checking multiple ...
0
votes
0answers
22 views

Views Exposed Filters only adds parameters instead of redirecting to the view page

I've created a View with exposed filters and rendered said filter inside a block in my homepage, but instead of redirecting to localhost/test/?type%5B%5D=article&type%5B%5D=page when I click ...
0
votes
0answers
8 views

How can I set a 'global' Exposed filter rewrite for taxonomy terms on a view

How would I go about settings a rewrite for display taxonomy (Rewrite filter options), but as a 'global', instead of having to set each individual value for exposed filter? I can see the there is ...
0
votes
0answers
13 views

Change Dropdown to checkbox in View

I'm using Content: Translation language (exposed) in my code, And I Have two Options - autocomplete - dropdown I'd like to have Checkbox, How Can I enable it? I'm using Drupal 8
0
votes
0answers
19 views

How to add a close/back button from a view B to another view A

I have a view A (filtered but not exposed) with several pages. When the user click on a content of the View A page x, a call is done to another view B (filtered too but not exposed) with several pages ...
0
votes
1answer
18 views

How to get vote results from node reference through views?

I have two content types: 1. Restaurant page 2. Write a review page The write a review page has node reference url widget field and also the fivestar rating field. The image attached below will ...
0
votes
1answer
11 views

multiple sort comments in drupal [on hold]

like what you can see in this site, I want to have 3 tabs for comments. oldest first newest first sort by likes I've tested creating views and show in tabs but this way in too heavy! is there a ...
0
votes
0answers
14 views

How to make an Openlayers map based on geojson layers with exposed filters?

Openlayers builds maps combining multiple layers, some of which are based off of view into a single map. From what I have experimented with, putting an exposed filter on a geojson based views, doesn't ...
2
votes
0answers
14 views

Alter the exposed filters of a view, based on the view result

I have a view that displays matching nodes, based on contextual arguments. I'd like to create an exposed filter that filters by node title, displaying a drop down (select) menu with options for every ...
1
vote
1answer
21 views

Create And in contextual Filter

I need to create AND in Contextual Filter, for instance: I Want to Get All English Node AND Italian Node, with particular Taxonomy. But I Can Have En and It, but even only en or only it, or even it, ...
1
vote
0answers
13 views

Views listing of nodes and node title as exposed filter

When I started this view I thought it would be simple… But it's not. I've an "Office" content type and a view (block) where are listed my "Office" nodes as teaser. First of all it could be great if ...
1
vote
0answers
18 views

Display nodes with the same parent node

Let's say I have a Region content type that have multiple entity reference to a City content Type. When I'm on a City page, I would like to display Cities of the same Region as the City page. How ...
0
votes
0answers
8 views

Drush not working, T_FUNCTION from views_fieldset.module not related to PHP version (5.2 - 7.0.2) [duplicate]

When executing almost any command in Drush (for example drush status, or up) I get: PHP Parse error: syntax error, unexpected T_FUNCTION in ...
-1
votes
0answers
21 views

How do I add a view to a custom module? [on hold]

I want to create a module and add a view to it. I realized I should use getViewsData(), but I do not know how to use it. Who can help me?
2
votes
2answers
29 views

How to filter views rows whose nid is less than nid provided by url?

Drupal 7. In a node/edit form panel I have added a view that returns nodes. I whish to filter thoses nodes and keep only the nodes whose nid is less than the nid of the node beeing edited. the url of ...
0
votes
0answers
11 views

Define a custom Views handler that formats a node id (nid)

I'm attempting to create a custom views handler that formats a node id. Essentially, if the user is authenticated, I want to display a special piece of code, but if they're anonymous, I want a sign-in ...
2
votes
2answers
43 views

How can I make content type appear as a table?

How can I make content type appear as a table each time I add content through it or its easier to make it in Views? I am trying to make a website for students and each students will see some numbers ...
0
votes
0answers
17 views

How to export content to campaign monitor? [on hold]

How to export content to campaign monitor: the admin will chose content from different content types that content will be exported to campaig nmonitor will be separated in different campaigns lists ...
0
votes
0answers
24 views

Views Exposed Filter and Pager adds leading zero in URL argument which fails

I have a View that exposes a filter like this: And settings are the following: When changing in the exposed filter it works as expected, however I also have a pager and when I try to click on the ...
0
votes
0answers
11 views

Entity Queue name not an option in sort criteria

Drupal 7.38 Enityqueue 7.x-1.1 Views 7.x-3.11+23-dev Configuration of the EntityQueue is very default and straight forward: Entity Queue name not an option in sort Handler: simple queue Entity ...
0
votes
3answers
25 views

How to make a view specific to only 1 node, not all nodes

I am building a register event calendar so people can sign up for future events. I have the calendar and the registration for events already completed. Now all I want to do is create a view that will ...
1
vote
1answer
21 views

Exposed Filters in Drupal 8

I am not able to get exposed filters to work in Drupal 8. Here is a screenshot to help me while I explain some of the issues I want to filter by the title of a content type. This title was ...
1
vote
1answer
21 views

Centering block view [closed]

Hello Drupal community! I have a questions about displaying content with views. Is it possible to center the content within the block, in-browser? Right now I have two entities next to each other, ...
0
votes
0answers
10 views

Using the published date and a custom date field to create a view with fields from two content types?

I am trying to create a view that displays fields from two content types. Type A has a custom date field, and I want to display a field from Type B when the custom date field in Type A is on the same ...
0
votes
1answer
13 views

How to sort on different columns in the same view Drupal 8

I'm trying to build a Glossary View in Drupal 8. Let's say I have 3 content types: Person, Article, Event. I want sort by title ASC for Article and Event, but sort by Last Name for Person. So that ...
0
votes
0answers
19 views

How can I enable search on parts of a word and Autocomplete suggestions for Drupal 8 Search API?

I'm using search Api in Drupal 8. I tried with search API pages and even views, but I didn't find %like% function query Can I do %like% in search Api or Views?