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

learn more… | top users | synonyms (2)

1
vote
1answer
13 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 ...
0
votes
1answer
19 views

How to Bootstrap Drupal with Views

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
8 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
12 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
4 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
7 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
16 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
15 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
9 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
13 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
12 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
16 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
19 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?
1
vote
2answers
20 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
9 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
40 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
16 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
23 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
19 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 [on hold]

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
18 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?
0
votes
0answers
21 views

Node reference - Autocomplete - title + fields in the autocomplete HOW TO [duplicate]

2 content types : node type A. node type B. referencing node type A. Most of the type A. nodes share the same title but aren't the same at all. I need to add some fields in the autocomplete ...
0
votes
0answers
14 views

How to build a json hierarchy? [duplicate]

I wonder how I can build json with a hierarchy in a Drupal site. Eg : events: { "2014-04-30": {"number": 5, "badgeClass": "badge-warning", "url": "http://w3widgets.com/responsive-slider"}, ...
2
votes
0answers
19 views

How to change field value before view sorting

I've got a view where I have to change the value of a field in certain conditions. I managed to change the value of the field before it's printed but It doesn't affect how the elements are sorted. In ...
0
votes
1answer
20 views

drupal 7 display user info for current user

I need to display name, role, photo of current user. I'm use views, in Advanced settings add Contextual filters select Content: Author uid and in settings of it select Provide default value ,in type ...
1
vote
1answer
18 views

Views settings options in my custom search page

I have followed this tutorial. I have selected the blocks option instead of page option in views as I want to add it as a block in the organic group homepage. How do I restrict the search using ...
0
votes
1answer
21 views

OG membership: Group Node from OG membership not working

I want to create some views to display Group information on Group content pages. E.g. Display contact info from the group in a block/pane in the sidebar. I did this before, by using the default OG ...
0
votes
1answer
12 views

Not load JS formatter field used Views Infinite Scroll

I had my module formatter field for Image Slide . After load scroll page that field not run slide , I Debug see not include js slide when load scrolled ! So how to include js or call js field ...
1
vote
1answer
21 views

wishlist and commerce bundle

i have commerce_bundle module installed, and we use it to implement (shop the look) concept, the problem is that we already use flags to implement wishlist for separate products and view the items ...
1
vote
1answer
19 views

hook_views_query_alter if date field empty sort with another field postdate

I have a view that show all contents of type NEWS NEWS has like fields : Content = Title Scheduler = publish-on and in sort criteria : I want sort contents with two option : With scheduler ...
3
votes
1answer
21 views

How can I get a summary from a view into another view?

There are a few views that gather and analyze data from several nodes to form a budget based on their workflow. These views have a "total" area (defined as a custom content field within the view), ...
0
votes
0answers
22 views

No content being displayed on the front page [on hold]

So, it started with a PHP parse errors in a few modules which took the site down. I fixed that by updating all modules with drush. The problem is that now I can't get the front page to show any ...
0
votes
1answer
13 views

change field value in a view using preprocess_views_view_fields

I'm trying to change the value of a field in a view programatically but i find some problems. first is that even though I created a Global: custom text field which field id is 'nothing', It's ...
2
votes
1answer
16 views

How to pass views link as a variable to a node?

I have had a custom tables and I need them to view using Views in Drupal 7 module and it works. In the Views module we can output fields as a link and redirect to the page what we need and I did ...
1
vote
1answer
10 views

Drupal 7 Event Calendar View Block Output Configuration

I have installed the event calendar module. The problem that I have is that the calendar block outputs as follows: S M T W T F S where I would like it to be outputted as follows: M T W T F ...
1
vote
1answer
17 views

How to add alt tag to image from views

I have created views with image gallery. Now I want to add alt tag to image how can I do it. I have not enabled alt field in content type configuration. I want add alt tag to already existing images. ...
1
vote
0answers
13 views

how to create a views from newly added field

I use this code to add a field to comment's table. function cmnt_install() { $field = array( 'type' => 'int', 'not null' => TRUE, 'default' => '0', 'description' ...
0
votes
1answer
10 views

Drupal Views Datasource and Flag Links

I want to use Views Datasource module to output JSON, i then want to construct the JSON output using REACT JS or alike. I am currently stuck on how to output the Flag Link, it just comes back with an ...
1
vote
1answer
20 views

Users to choose how to view images

Is it possible to offer viewers different options on how to view an image? Currently, it just defaults to a flexslider that I have put as default on my image style. Looking for instructions on how ...
0
votes
1answer
20 views

How to get “User ID From URL” with contextual filter in Pfofile2 page

I'm using Drupal7. I wanted to display some fields from user account in profile2 page by using Views. I tried to do this by using views block and views_embed_view() coded in ...
0
votes
0answers
9 views

change field value shown in a view based on contextal filters

I've got a view of products (houses for booking) where one of the fields is price / night. When an availability search is done, the view applies a contextual filter and only show the available items. ...
1
vote
0answers
20 views

Is it possible to add a flag to a specific role user without using VIEW module?

I have downloaded profile2 module and I have created a specific role called artist. I also added some fields so to be shown only for the artist role users' on the registration form. Then I added a ...
1
vote
0answers
14 views

Filter on the count of a term reference field

I am trying to filter a view on the count of a term reference field. Users submit a node of type Write Up. One of the fields is an entity reference of Employee and another is a term reference of ...