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

learn more… | top users | synonyms (2)

0
votes
2answers
16 views

When to use views_get_view_result Drupal 7

I have basic listing in a View. I can give styles, or unformatted text, provide a link, etc. However, I would need the listing to be a list of linked items, with the destination URL changing depending ...
0
votes
1answer
26 views

Adding custom field in my view

I have a view (Content type = Service man) showing serviceman detail like name, number, address... I want to add a field not in content type but in my view something like (confirmed/Not confirmed) for ...
0
votes
2answers
15 views

does indexing tables have a bad effect on drupal?

I have one or two views which has a lot of fields to show and all of this fields are in filter criteria as exposed filter. now the problem is acting in low speed. the solution I am now thinking about ...
2
votes
1answer
14 views

A view that displays content with taxonomy term of current user?

The Setup: A Taxonomy Vocabulary called "School" - During registration, users can choose multiple "Schools" from the taxonomy list to associate themselves with. A content type called "Lesson" - ...
0
votes
0answers
8 views

Organic Group Subscribe Link in a view block

Is there a way to create a subscribe button in a view block. I would like to put this view in a mini panel. Thanks a lot
0
votes
1answer
21 views

How to get the site url in views custom output

I want to print the site url in views field with a custom output, I tried [site:url] token, It doesn't work. I already have entity token and entity_token enabled in my site. Is there a way to do that ...
0
votes
1answer
11 views

Views only used for not logged user

Is there a way to only display a view result for Not Logged user. If yes, How I could perform this. I'm using drupal 7 Thanks a lot
-1
votes
0answers
13 views

Vertical Parallax Slider [on hold]

I am developing a website on drupal. For the slideshow section I am using MDSlider. What I would like to do is to have a slider that has a vertical parallax effect. In detail, when someone scrolls ...
1
vote
0answers
18 views

How to expose filters with dynamic values coming from another view?

I have a page on which I supposed to have content of a content type(view 1) and on its sidebar there will be listing of node titles of same content type(view 2). I am passing node id on click of node ...
0
votes
2answers
14 views

Duplicate value fields when creating relationships field collection of views

I have a problem need help. I created one field collection (unlimited value) for content type. Then I create 1 views to ren value fields in tables. I created relationship field collection for the that ...
1
vote
0answers
26 views

My user locations map isn't displaying results

I am a novice Drupal user, and need assistance. I want to create a google map for displaying users locations, but when using Gmap or Openlayer I can't seem to get the map to output any results ...
0
votes
0answers
15 views

Unselect all exposed filter options

I added two term filters with operator is one of. I'm using better exposed filters to get them working with nested checkboxes and AJAX result updating. This works very well except one case: I can't ...
0
votes
2answers
31 views

How can I create a carousel with multiple rows [on hold]

I'm trying to create a carousel with multiple rows, like the image below how can I achieve this?
0
votes
0answers
9 views

View based on a shared Entity Reference?

Summary: I am trying to create a view that displays all "Lesson Plans" from a school that the current user is associated with. The setup: Content type called "School". Content type called ...
0
votes
2answers
22 views

Selected/Restricted Autosubmit with Better Exposed Filters in Drupal

I'm using the Better Exposed Filters module to manipulate the filters in my view. It works great except for one issue that's affecting the whole layout. Within my view I have four exposed filters ...
0
votes
1answer
12 views

Drupal 6 exposing fields in views

So I have a product content type with a title field and a file upload field and I created a bulk operation to enable the user to upload a single file, selecting which titles to upload that file for. ...
0
votes
0answers
11 views

How do I group records in Views?

How can I group a record in Views? I have tried using Aggregate plus and relationships but it ends up leaving fields off.
1
vote
0answers
20 views

How to select a view inside a custom module form

I would like to have "select" with some views so I can chosse one of them and the submit the selection to display the result. something like this: And this is close to what I want : ...
0
votes
1answer
24 views

Drupal terms and arrays

I am struggling a bit with the array structure of Drupal. I am using PHP in a contextual filter inside views. I have the same vocab on both a content type and user via profile2. I manage to get the ...
0
votes
0answers
9 views

Conflict among mymodule_block_view_MODULE_DELTA_alter and module_invoke

I have, in Drupal 7, a Views which returns a list of items. The views display is a block, which I render in a section of the page. I was trying to dynamically display the block in the template using ...
0
votes
0answers
7 views

It is possible to use a view formatted autocompletion json as the results of a FAPI textfield autocomplete?

I'm trying to do a fapi element autocomplete textfield using a view formated autocompletion json I mean, created a view which returns a json using a exposed filter criteria. The view as is works ...
0
votes
0answers
15 views

How to connect node points on page using the Views module?

I have created one note type using the Leaflet module. Suppose now I have 10 node and every node contains one node point. Then I am creating one views using that node type, after that I will get 10 ...
1
vote
1answer
65 views

Master page and details page for Views

I have created a new content type and I called it Opinion. Then using views, I have created a page with path /opinion to be a view for all nodes of type Opinion listing i.e. a master page. The ...
1
vote
0answers
17 views

Views escapes HTML tags in node body

I'm creating a view that displays a few fields from a specific content type. Among the fields is the trimmed nody body. The problem is that the HTML tags in the body are escaped and are visible as ...
0
votes
0answers
17 views

Should drupal_is_front_page work with ajax and a panelized front page?

I have a panelized front page which is accessible via base_url/home or base_url/. If I call the front page normally drupal_is_front_page returns TRUE, but if I use a view with an exposed filter using ...
0
votes
1answer
14 views

How to default a content type's Language field to the authenticated user's language?

We are using Entity Translation so that content can be created in several language. One item we noticed is that on the basic page, for example, has a language field that you can set when you create a ...
1
vote
2answers
24 views

How to create a page with all the nodes of a specific user?

My users' profile pages contain a View with their 4 latest nodes. I would now like to add a "more" link underneath that View that redirects visitors to a page with all the nodes of that user. I can ...
0
votes
1answer
20 views

How to use multiple sort criteria?

I'm building a Q&A page and default sort view is date of post like this. I want to sort by votes but is not working even though I have added in sort criteria
0
votes
2answers
26 views

How can I add rows to grouping in views?

I have a view that lists terms from two different vocabularies (Product Categories, and Traits). The Product Categories vocabulary looks something like this: Sweet Corn Type 1 Type 2 Onions ...
0
votes
1answer
12 views

Taxonomy view representative node contextual filter leads to incorrect results

I have a view that is outputting incorrectly, perhaps not according to the code, but according to what I need it to do. So, a challenge? The view lists colors (taxonomy terms from vocabulary 'Color') ...
0
votes
0answers
17 views

Views Slideshow Carousel

Is there a way in Views Slideshow to make the pager to follow the slide? Here is the link of the sample slider that I require http://www.jssor.com/demos/content-slider.html When you clicked the ...
0
votes
0answers
14 views

Remove filter from a view id another filter has a value

In D8 I am trying to remove a filter from a view in case another has a value. I am able to remove it in hook_views_pre_build(): function MODULE_views_pre_build(ViewExecutable $view) { ...
0
votes
2answers
14 views

Taxonomy exposed filter in views

I have a content type with a field 'field_departimage' which uses entity reference to reference a taxonomy I have set up which holds the name and image. I would like to filter by the taxonomy 'name' ...
1
vote
2answers
17 views

Passing a single two word value into contextual filter that allows multiple values

I have a contextual filter set up to allow multiple values, and it filters the view on the city. so if I pass in "new york", the view will look for "new,york" which will not return any results. If I ...
-3
votes
0answers
31 views

Calendar Tabs with Ajax [closed]

I activate Ajax for a Calendar view, but it works only for next and previous button. Is it possible to have Ajax for the tabs Month Week and Day? Thanks
3
votes
1answer
28 views

Using NOT LIKE in db condition?

I don't see an example when looking at the api. I'm setting up a query and would like to use NOT LIKE as opposed to STARTS since START does not seem to be supported. Is this possible?
2
votes
1answer
14 views

How to show Users and Nodes in a single view?

Using the Flag module I have created a bookmark flag for User and Node entities. Working so far so good, but I cannot create a view that displays both Node and User entities in one view. How do I do ...
0
votes
0answers
7 views

Filter condition with select list

In view i have given filter condition for a title of content, i want to create this filter with created node select list and filter the table according to node title, please tell me how to achieve ...
-3
votes
1answer
27 views

How to add 2 string of code together for views in custom module?

I have a view that needs these 2 lines of code: if($form_id == "views_exposed_form" && $form['#id'] == 'views-exposed-form-hide-tweaked-advanced') and if($form_id == "views_exposed_form" ...
-2
votes
0answers
14 views

How to have a user field that saves searching and filtering preference for users [closed]

On dating sites, when a user registers, he has an option to choose his default search paramaters. Usually by location, sex and age. So whenever the user goes to the search page, when logged in, it ...
0
votes
1answer
17 views

hook_preprocess_views_view not loading view when records are empty

I am trying to add some css and js files using the hook_preprocess_views_view_unformatted Hook in template.php Here is my code : function mytheme_preprocess_views_view_unformatted(&$vars) { ...
0
votes
1answer
25 views

Create a View of Books

I'm using the core Book module for organizing meeting notes and documentation. How do I create a list of books with the views module? That is, I'd like a list of only the top-level Books, not all the ...
0
votes
0answers
17 views

Fatal error: Class 'DrupalDefaultEntityController' not found in C:\xampp\htdocs\drupal\modules\user\user.module on line 300

I am getting the above error when I try to run http://localhost/drupal on my browser. I'm trying to install drupal using xampp. What should I do?
1
vote
1answer
37 views

Views, show block on nodes where the node author has specific role(s)

I am trying to display a few views blocks on nodes of authors that have specific roles. So far I used contextual filter Content: Author uid with the following settings: Provide default value: User id ...
0
votes
0answers
17 views

In views my contextual filter does show the default option of “PHP Code”

In views my contextual filter does show the default option of "PHP Code" How do I implement this? thanks -Sean
0
votes
2answers
32 views

How to refresh all views in Panels with a time interval without page refresh?

I have some views that I want to refresh in a time interval (15sec) OR if there is changes in the content. For that I tried to use module "Views Auto Refresh". It works fine for a time interval but ...
0
votes
0answers
13 views

Drupal views aggregation with multiple relationship

I need to create a single view that gets information from multiple entities to have a sum value. This means having to use multiple relationships. The issue that i am having is that multiple ...
0
votes
0answers
9 views

custom field collection in view (style output) template drupal 7

I use the module Field collection and Field collection table to display some data as a table. I created a page to display the fields in the field collection of me. I need to customize the theme ...
3
votes
1answer
25 views

Showing All Taxonomy Terms count based on a given contextual filter

I need to create a view that shows All Taxonomy Terms count from a vocabulary based on a contextual filter given. The contextual filter I'm to be passed are Regions and Regions are taxonomy terms as ...
1
vote
2answers
23 views

Hide row in view if Content: Edit link field is empty

I have a page view that table format. I have Content: Edit link field. I want to hide the row that contains that field empty. The following is a screen shot for Content: Edit link settings regarding ...