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

learn more… | top users | synonyms (2)

1
vote
0answers
22 views

Views: Custom output for user profile list

I have a "user list" view, which displays an "unformatted list" of user accounts. While the row display is controlled via views-view-unformatted.tpl.php and customizing it works, the row plugin ...
0
votes
2answers
24 views

Hide Edit View link in Newsletter

I have created a view and sending the view as newsletter to users. But received mail contains EDIT VIEW link. How to remove the edit view link from newsletter. I have added the screenshot of received ...
0
votes
0answers
14 views

how to display a custom entity in a view

This is my first time making a custom module and I want to display some of the content that is produced in a view, but I can't figure out how to make my custom entity show up in the SHOW: select list ...
1
vote
0answers
14 views

Displaying Content Flagged by User Name with Flag Module in Drupal-7

I'm using Drupal 7.38 with the Flag (v7.x-3.6) module, along with Views. I'm setting up a flag for content. My goal is to display a list of users whom are flagging content (along with aggregated ...
0
votes
1answer
11 views

Views question with user reference

I have a content type courses with course name, instructor, coordinator and ta fields. Instructor and coordinator are of type user_reference. My data looks like below course instructor ...
0
votes
1answer
13 views

Drupal role does not appear in Views Filter

According to one post, I added Author uid in contextual filter but user role still does not appear in the filter. Any other lead help?
0
votes
1answer
18 views

Views merge rows: merge uniques values and show the first one

I'm using Views merge rows to grouping rows by some fields, It worked good for me, but in some fields I want to show just the first filled value that means: merge uniques values+use the first value. ...
1
vote
1answer
17 views

How to update a module's view programmatically using hook_update_n?

We're writing some update functions for a custom module. This custom module provides some views: /** * Implements hook_views_default_views(). */ function mymodule_views_default_views() { ...
0
votes
1answer
28 views

Content type Images not displaying

I have created views to display images. Clicking on the image takes to content. View displays the image but when clicking on image it takes to content where image is not displaying. Please help me.
0
votes
0answers
11 views

Duplicate field values in views for a custom entity

I have a custom entity. I'm using hook_entity_property_info() to tell views what fields are in my custom entity. However for some reason I am getting duplicate fields when it comes to views. As in, I ...
0
votes
1answer
26 views

How to add Views name to body class?

At moment Drupal add css class page-VIEWPATH to the body tag. How can I add css class page-VIEWNAME to the body tag without third party module or JQuery? Thank you in advance!
0
votes
1answer
18 views

Image not displaying in email

I have views with three fields (Title, Image, Price). I want to send this view as email to registered user. I am using Mime mail to send email. Email works fine but images are not displaying in ...
0
votes
1answer
6 views

Rendering a region after rows

Having code issue. I am rendering a the regions[ad_spot] = 'Ad Spot' so that it shows up after the first row. For some reason it is not showing the region even tho I have put a block in there. So ...
0
votes
1answer
10 views

Custom views field handler with relationship support, but without table

I created a custom field handler following the very useful explanations here, Custom views handler without table The field handler picks the entity from each row and renders it in some way. (For ...
0
votes
0answers
7 views

Using views Org Chart in Drupal

I am trying to use Views org chart module in drupal. I have created a node type contact using CCK module which stores in personal details of any person. I have used relation module to create relation ...
0
votes
1answer
15 views

How output field in $view->result?

Help please. I'm sorry in my bad English. I need get field views in calendar module template. print_r($view->result) output this: https://jsfiddle.net/36pbj7bb/ How output event_calendar_status? ...
0
votes
0answers
18 views

Exposed filter - in between operator

Okay, it's about a person height. I have a height field in my profile2 for user who select their height from a list text. Values look like this: 5'9" 5'10" I would like to search users based on a ...
0
votes
0answers
7 views

Deleting records from a search result however not from the database

I am trying to build a Candidate database site using Drupal 7.38 version My Query: How do I save & delete certain search results from a search initiated however Not delete those results from the ...
0
votes
1answer
12 views

How to setup views exposed filter with result between 2 fields values

I have content type called the materials with 2 temperature fields as Max. and Min. in the views, there is between operator from filter and normally it use for user could input 2 values to the form ...
0
votes
0answers
10 views

Converting Drupal 5 to 6, theme_views_view() error

I'm working in Drupal for the first time and working on migrating a Drupal theme from D5 to D6. There doesn't seem to be ANY documentation for the error or issue and I need some help. Again, I've ...
0
votes
2answers
20 views

Create view block on user account page which lists nodes with same taxonomy term as that of one on the users account [duplicate]

So I have an event content type which has a type of game, wow, starcraft, counter strike, etc. When this event is created they tick which type of game it is for. When a user registers they tick which ...
0
votes
1answer
28 views

rank position based on field value

I would like to display the rank position of a node based on a field value. Let's say that in field_A there is the node's quantity of "points" and in field_B the node's category. Then, I would like ...
0
votes
0answers
29 views

Display filters in other formats

I have a view to display nodes, with many filters and sorting conditions; that it gets confusing. I want to display the effective filters somewhere, for example refined by X or sorted by Y. is there ...
0
votes
1answer
39 views

How to calculate difference between two dates using Global PHP field?

I have a global PHP field provided by views php module. I tried two functions to calculate the date difference, date_diff() and $fieldDate->difference() but it always gives me an ajax error. I think ...
0
votes
1answer
19 views

Empty View does not display “No results behavior” for admin

I have a View content pane with a setup to display "Header" when there is content and "No results behavior" when the view is empty. The view works fine for authenticated and anonymous users, however ...
0
votes
1answer
17 views

view content by two taxonomy terms from two vocabulary

I have a content tagged by two taxonomy vocabulary ( location and category) How can I let the user select the location then select the category, the view (or panel) will show the contents tagged with ...
0
votes
2answers
17 views

Tag users in a content field to create user-specific content listings

I'm newish to drupal and it seems like this should be somewhat straightforward or at least possible with views and/or taxonomy. I have an embedded video content type. I want to tag multiple users in ...
0
votes
0answers
4 views

Displaying keyterms and filters a user selected in a Views-based Search

I have a Views-based search that's working well. Users can enter a keyword or select various filters to filter the search (all results displayed by default). But I do have a question about something: ...
0
votes
1answer
14 views

Adding a link to a node in a Views export

I'm using Views data export to export a view-based search as a CSV file for users. Basically it's working. However I'd like to customize how some of the fields come out in the CSV. Specifically for ...
0
votes
2answers
14 views

Custom URL on link to node

I've got a field (URL) which contains a custom external URL for each node. My goal is to set this custom url as link on the title which is displayed in a View. This is currently linked to a detail ...
0
votes
0answers
18 views

How to rearrange View fields in different order

I have a View with 4 rows & 2 columns. Each item is composed of an image & title. The left column needs an image on top & title on bottom, the right column needs to invert that order. How ...
0
votes
0answers
13 views

Custom entity api development adding a revision to entity lead to broken views handlers

(note: see extra info at bottom) I have a chain of entities which were joining together in Views nicely by defining their relationships as joins in hook_views_data_alter (note - I had actually used ...
0
votes
1answer
11 views

Ajax pager failure in view after modifying view on hook_views_query_alter

The requirement is for different pages on the website to show different Twitter feeds according to the current page. There is a context (triggered according to the path) that inserts a view block into ...
0
votes
0answers
32 views
+50

Drupal8 views broken handler with custom entity type

I'm building a bet website a a long test of drupal 8. thanks to drupal console I managed to create a lot of custom entity types. Now i want to expose my entity to views, but I get this message : ...
0
votes
0answers
8 views

Quick search view submitting to full search view?

I've got a filter view in Drupal 8 that allows me to filter a specific content type by various taxonomies, dates and titles. I also need a 'quick search' view in the header which has the same ...
0
votes
0answers
26 views

drupal 7 'views'. Use the context filter to path 'directory /% /%'

Site Drupal 7 Commerce. path pattern catalog category - 'category / [term: name] / [term: tid]' To display the product catalog categories set view 'catalog_view' with parameters: Page settings: ...
0
votes
2answers
52 views

Displaying image from referenced entity in a view

I am trying to create an image albums with the biblio content. These are the steps I have taken: On the Biblio content type, I added a new field called Image of type Image Created a new content ...
0
votes
1answer
18 views

Combine recent and popular items in Views

I need to show 2 popular and then 2 most recent items, and again next 2 popular and next 2 recent items in Views. Any idea how to do this?
0
votes
1answer
17 views

Get delta value of Multifield

How do I get the delta value of a multifield in a View template? I need to get the delta value in the Row output View template.
0
votes
1answer
43 views

Get file ID and path to use in View template

I am working in my Row style template (views-view-fields--MYVIEW--block-1.tpl.php). I need to get the file ID and path of an image. The image field is a multi field, so I need to get all of the images ...
2
votes
1answer
21 views

Views: Relationship with filtering?

I have a content type shortcut with the fields field_namespace and field_active. Additionally, I have a Taxonomy term vocabulary named namespace that is used in field_namespace. Example content: ...
0
votes
1answer
18 views

How to set up a view containing a list of events ordered by date

I want to have a list of Events on the front-end like this: Upcoming (Newest on top) <Event1 title> @ <Event 1 Date> <Event2 title> @ <Event 2 Date> . . Past (in reversed ...
0
votes
0answers
6 views

Disable automatic views translation

I have a multilingual site and in the language switcher block on Views pages all languages show as available despite the content not having any translations. This means the content is displayed in ...
-1
votes
1answer
23 views

Views PHP : couldn't print dates

I'm using views php to printing, and calculate some dates in my view.but when I try to print a date (06/01/2015) in the global php field it printed like: 16831 which is the node id Value code: ...
0
votes
0answers
17 views

Glossary view preview works fine but it is not visible on actual page.why?

I had cloned a glossary view but forgot to update the page path. Later I deleted the cloned view. Now none of my newly created views work! Preview displays properly but nothing is displayed on ...
0
votes
1answer
23 views

Views with taxonomy contextual filter not working in Russian language in Drupal 7

I have a View which works perfectly in English. It has a contextual filter, with options Content: Has taxonomy term ID , filters by taxonomy term with term name converted to term Id. But when I ...
0
votes
1answer
15 views

Theming Views problem to print view fields

Hello Drupal Community, I was trying to edit my view theme with php in the file views-view-field--homepage-banner--block--field-site-image.tpl.php and try to print view fields, but values come's ...
0
votes
1answer
18 views

Views PDF Change Table Layout Setting

I am using Views PDF Module in my project. This module provide only limited settings for table layout i want to generate pdf according to custom design as given below: The pdf file generated ...
0
votes
0answers
20 views

Creating a custom views access plugin

I'm trying to create a custom views access plugin, so I can perform my conditions for accessing a view. I read several tutorials and checked the source of existing modules, but I must be coding/doing ...
1
vote
1answer
19 views

How to make table-responsive in drupal views [duplicate]

I have created the views which renders table. I want to make table responsive without any contrib module. Is it possible?