Tagged Questions

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

learn more… | top users | synonyms (2)

1
vote
2answers
8 views

How can I invalidate a cache on a specific View?

I am facing a situation where I need to invalidate a specific View in order to initiate clearing the cache on that View. views_invalidate_cache() clears ALL cached Views data, for every View on the ...
1
vote
1answer
10 views

Is there any way to use SQL Views in Drupal Views

I have some very tricky reports to develop (with multiple subqueries) and it occurred to me that the Data module would be perfect: I can create my complex queries as SQL Views (I know how to do this), ...
-1
votes
1answer
10 views

How to set project url field to title field

I am new to Drupal, i had following fields in Drupal view Fields: Content: Body Content: Link Content: Project URL Content: Portfolio Images Content: Title Now I need to assign project curl field ...
-2
votes
1answer
20 views

Drupal Views Slideshow + Galleria

Image Gallery with the use of View slideshow does a trick for me. what I need : But for thumbnails & for main image galleria provide image crop with 4 options like height, width etc. Is there ...
0
votes
1answer
20 views

Reset button in Exposed Form of Views

I have a view named search-form. In my view there are some fields like age, profession, education, etc. In this view I am using 2 buttons i.e. Submit & Reset. These buttons show from Exposed Form ...
0
votes
0answers
10 views

Taxonomy view breaks when changing url

I have a taxonomy view that outputs to the a page example.com/food/toast that works correctly. It shows a list of nodes that have the term food within them. When I try to change the path to ...
0
votes
0answers
23 views

Ajax pager of views does not work when using in quicktabs

I have 2 views that are using pagers since they display lists of articles. Each view is within a tab of a quicktab. The views are set to use AJAX. Right now, I am able to move between the pages of ...
0
votes
1answer
12 views

How do I set a range of views results?

I have 2 views in a page. The first view displays 3 articles and the second view displays a list of all the articles. The problem is that I get duplicated articles in the second view since it is ...
0
votes
0answers
11 views

How to make new post show instantly in a View Display for the author who created it?

I have this Views Display (profile page) that shows the author's content. However for some reason whenever an author post a content, it does not show instantly in his Profile Views. Yet when you check ...
0
votes
1answer
15 views

Classify content in Views based on distinct values

Is there any elegant way to classify content in view, so that content with same value of some field gets the same value from some predefined list? For example: I have nodes with entity reference ...
0
votes
0answers
20 views

How to alter the fields available for commerce backoffice Quick Edit?

I have added a "waiting time" field to the orders in Drupal Commerce, so that each order has a waiting time. I would like for the field to be available using the Quick Edit options of Commerce ...
0
votes
2answers
29 views

How to group content in view by taxonomy terms?

I have a content type called blogs and in which I referred a Taxonomy term which have three different terms in it. Now what I want to achieve is three blocks with two recent posts for each taxonomy ...
0
votes
0answers
8 views

Avoid using go_to() in the submit function but return to a fragment of the page [duplicate]

I have a e-commerce site whose landing page lists available products. Now you can mix and match any of them - Am using checkboxes to let the user interact with the products. At the end of the form I ...
0
votes
0answers
27 views

How to add node/add page into my view?

I am trying to build my own content administration page and I want to use default drupal node/add page (that one with list of content types available to user) inside view. So far I have made view ...
0
votes
1answer
8 views

Drupal 7: Views RSS module - fields not showing up

So I wanted to create a custom RSS feed for my site and was told that I could use the views fields capability with this module: Views RSS. I downloaded and installed and followed the steps explained ...
1
vote
2answers
35 views

How to modify drupal views query

So Drupal views is creating a query and I need to change the where clause conditions and move it to the on clause. This seems to give me the results that I am looking for. I can not figure out how to ...
0
votes
0answers
10 views

How do I show a list of users who share similar taxonomy terms indicated on their profile

I am trying to create a Drupal 7 user listing view that will show a block of users who have selected exactly the same term name from a single vocabulary that has a list of names as its terms. My ...
0
votes
1answer
6 views

Views related nodes with same Title

I am building a booking system for a local theatre company. Each theatre event is its own node, and for the same show on different nights, the first night is created, and the node is cloned, with a ...
0
votes
1answer
20 views

Is it possible to display user's first login (activation) date in a view?

All the users are imported (only admin can create accounts), they receive an activation email to connect with a one-time login. What I would like to know is how to display the date when they actually ...
-1
votes
1answer
34 views

Adding categories to webform components

I have 3 webforms, each with different components : one webform - 25 multiple choice questions. second webform - 30 multiple choice questions third webform - 32 multiple choice questions. The site ...
-1
votes
0answers
22 views

A difficult question about drupal [on hold]

I made a page with views plugin. When it comes on top of a field area that is displayed on this page I want to leave a popup explanation. But coming from another field in these descriptions. Exactly I ...
0
votes
0answers
23 views

How to hide empty column during csv export in a view?

I want to hide the empty column from csv file which is generated using view data export module. I have try change in "No results behavior" options but still empty column header display in csv files. ...
0
votes
2answers
23 views

Is possible to display view contents in a drop down select list?

So, I've been tweaking and doing research about this but for the love of god I can't seem to find a solution. Here's what I want to do, I have a content type named Partners. I already created a view ...
0
votes
1answer
9 views

create menu filter price product

salute you. I have one problem need your help. I want to create 2 menu list of product categories and product prices. there should be a link between two product categories menu to the product menu to ...
0
votes
0answers
35 views

Drupal Commerce, Search API DB and Views | How to display the product variation accordingly to the attribute being applied as filter?

SCENARIO: A Size attribute field has been added to a Product Type at /admin/commerce/products/types/PRODUCT-TYPE/fields and "Enable this field to function as an attribute field on Add to Cart ...
0
votes
0answers
22 views

Drupal Views - Calendar Display multiple entity references of logged in user

So, I have a view that is a calendar view. I also have a user account with fields added to the user. They are both entity reference fields for a content type of Procedure and Pre-Op. Both of those are ...
0
votes
1answer
35 views

Unable to return session value in views Field

I am storing a session value via Rules when the user is logged in session_start() $_SESSION['userkey'] = "12345"; Also testing it below there echo $_SESSION['userkey']; Although when I am ...
1
vote
1answer
24 views

How to output every second grouping in views?

I have a view that outputs a list of nodes and their taxonomy terms. I use taxonomy field as grouping field. So I get: Tax1 (article1, article2, article3 ) Tax2 (article4, article5, article6 ) Tax3 ...
1
vote
1answer
14 views

Display child terms in term taxonomy page

I have a vocabulary named "Catagory" with a term tree structure including parent and child taxonomy terms. In every term's page I want to display all the child terms for that current term. Terms are ...
0
votes
1answer
18 views

Enumerate content in custom view template

I am very new in Drupal. I am using Drupal 7. I would like to create a custom rendering for a view I have created. Thanks to many posts found on the internet I have already done the following steps: ...
0
votes
1answer
15 views

Embedding Views block in Body field makes Body field disappear

I have a block that I need to embed in a node's Body field. I've tried module_invoke() + PHP Filter, and I've also tried the Insert Block module. In both cases, whenever I embed a Views block, it ...
0
votes
1answer
14 views

Change layout of views page based on taxonomy term field

I have a taxonomy term page being displayed via a Views 'page' display. I need to change a value in the header of the site (above the level of the view) based on the value of one of the fields in the ...
-1
votes
0answers
12 views

Organising drupal nodes in hierarchical way in views

I would like to organize hierachally content in view as follow : I) Node 1 ( of content type ONE) Node1 ( of content type two, witch have field reference to the content type ONE) Node2 ( of content ...
0
votes
0answers
28 views

Why my query string generates page not found for my view?

In Drupal 7 I'm using a view export to download information for my orders. If i go to the default url /admin/commerce/orders then the page downloads correctly. However, I also have some filters so I ...
0
votes
2answers
36 views

Node showing teaser, but not content

My view is showing the list of teasers correctly, but when I want to read more and see the full body text I get the "Page not found" error. I've been searching through all my settings, permissions ...
1
vote
1answer
19 views

Move views global text field into code (attached fields and fields via relationships)

I have recently done away with using views php as it is unsafe. I have read a comment by @letharion whereby he mentions that adding a php directive disable_functions = eval is a good practice to ...
-5
votes
0answers
13 views

Field value returns NULL [on hold]

$Price= isset($fields['field_price']['und']['0']['value']->raw) ? $fields['field_price']['und']['0']['value']->raw : '';
0
votes
0answers
7 views

How to create a view that shows 1 node if it has all the taxonomy terms and 1 node for each term if the nodes have less than all of the terms?

I have a content type that has a vocabulary with three terms associated with it. I allow the nodes to have multiple terms. I want to create a RSS view with the Show: Content | Full content ...
0
votes
2answers
27 views

How to create a single slideshow combining several image fields?

I have 3 image fields in a content type: img1,img2 and img3. img3 is multi valued while the rest are single valued, and I'd like to create a single slideshow containing img1, img2 and img3 to be ...
0
votes
1answer
14 views

How is this themed when using views

I have a single page template...there are 5 sections, each powered by a view bound to a single content type. The first section has a dark blue background, the second green, third red, etc... each ...
0
votes
1answer
12 views

Commerce Products Display Page Using Views

The usual way to display Commerce products is 1. Create Products using Commerce Module Interface 2. Create a Content Type for Products Line Items by referencing the products But I have too many ...
0
votes
0answers
10 views

How to use taxonomy parent in a view

I have a question about taxonomy terms and views. I have this kind of taxonomy: - parent1 - children1 - children2 - children3 - parent 2 -children4 - children5 This taxonomy is present in ...
0
votes
2answers
22 views

Show total count of items on page created by views

What is it right way to show total count on views? I found this print count($view->results);
0
votes
1answer
21 views

views contextual filter second variable

I have a view that receives two variables like my-view-url/%/%. In a menu I have created a url something like my-view-url/animals/dogs. How do I get the contextual filter to see the second variable ...
0
votes
0answers
29 views

Calculate the difference between two unix timestamp date fields

I need to calculate the difference between two date fields in a table view in Views so that each row in the table shows the time difference in days, hours and minutes . The date fields are set to the ...
1
vote
0answers
19 views

Filter View by a Javascript variable that is frequently changed by mouseovers on same page

In Drupal 7.32, I want to filter a sidebar View block by a Javascript variable set by a mouseover on the same page, with the additional condition that the Javascript variable changes when you ...
0
votes
1answer
13 views

Updating view content (in block) based on field data from page it's displayed on

I'm struggling to achieve something in Views that would be quite simple in PHP itself - hoping for some pointers. I have created a view, displayed as a block, which appears at the bottom of each page ...
0
votes
0answers
10 views

Draggableviews and Services Views: Reordering Nodes through Ajax/Draggable Content not working in Services View

I have successfully set up a view ("Essential Questions Review Pane") that reflects the updated order of nodes based on a draggable view from another version of that same view ("Essential Questions ...
0
votes
1answer
12 views

Duration between From and To Date in Views

I have a view, listing date START and END. I want to list DURATION in HOURS between START and END date. How can I do that?
0
votes
0answers
9 views

Dynamically change date_first_day for Calendar Views

I have a diet planning application where the Calendar week views are used to display the diet plan for a particular user. The problem is that each user has the starting day of week thats different ...