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

learn more… | top users | synonyms (2)

0
votes
0answers
4 views

Drupal views contextual filters multiple values for search term

As title suggests I want to have a contextual filter on search term but also to have the posibility to use multiple values, atm search term has no support for multiple values.
0
votes
0answers
5 views

Sort handler for pseudo field in views

I have made a custom views field handler by the following instruction: http://www.interactivejunky.com/blog/database-independent-views-3-custom-field-handlers The problem is that, I cannot sort the ...
0
votes
1answer
15 views

alter the exposed form , make field hidden and accept it through node form field

can it be possible to alter the exposed form , make field hidden and accept it through node form field. for example Both node and views exposed filter will have the common date field and this view ...
0
votes
1answer
36 views

Change view query

I've a view and I would like to change it's query (slightly). Below is an example of what I have. SELECT * FROM {node} node ORDER BY my_field ASC I want to inject 'COLLATE utf8_danish_ci' into ...
0
votes
0answers
26 views

Merging Two Views

I have two views. One that shows a list of Invoices Receivable. I'm using Views Aggregate Plus module to sun up all of these. I have another view that shows all the Invoices Payable and also uses View ...
0
votes
1answer
23 views

Drupal 7 pager in views

I have a view created for product categories, now I want pager, I configure the settings by displaying specified num of items instead of all items, now I am getting the specified num of items on a ...
0
votes
0answers
13 views

exclude from display field so only logged in user can view?

I am trying to make it so logged in users can delete images they've added to a gallery created in views but I don't want the field link to content to be viewable by anonymous. So I have added the ...
0
votes
1answer
11 views

Why does adding a relationship change the display of my view?

I have a simple view based on my commerce_product? When I add a relationship to Flags, the display changes from 12 per page, to 2. I'm confused why adding the relationship changes the markup?
0
votes
2answers
25 views

Hook_form_alter in Views header PHP code

I have a content type called 'Checklist' which I bring forward using Views, in it's node-edit form. I wrote PHP code within the header in order to do this, here it is: <?php $view = ...
0
votes
1answer
17 views

Custom redirect for form-edit displayed in Views header

I have a content type called 'Checklist' which I bring forward using Views, in it's node-edit form. I wrote PHP code within the header in order to do this, here it is: <?php $view = ...
1
vote
0answers
35 views

Views performance issue

I have a website with 4 views (and sometimes 5 views) on the homepage. The problem is that when I try to open the website, it takes minutes to load and the cpu goes crazy because of mysql processes. ...
0
votes
0answers
11 views

Drupal 7 not able to run cron after views/panels update

After an update of several modules to their latest versions (views, panels, ctools) it seems Drupal can no longer run cron, whether automatically or manual. It gives the error: "Cron run failed." I ...
0
votes
2answers
41 views

Entity Reference | View - Display content based on a entity reference field's value that is randomized?

We are using Entity Reference. We have a content type "Dog", and a content type "Breed". In the Dog content type, there is an entity reference field to Breed We want to have a View that displays ...
0
votes
0answers
26 views

How do I programmatically copy an existing Field to another Entity?

I want to add two new fields to the Commerce Discount entity --- an image and a long text. And I want these to be visible through Views. I was going to use this code to add the fields: ...
0
votes
0answers
6 views

How to add secondary exposed form elements using “Better exposed module” in views

I just want to know how to add elements like another exposed filter in this advanced tabs.Currently it is empty.
0
votes
3answers
22 views

Contextual Filters for a Block on a Page

I am trying to figure out how to create a page with dynamic content within a block. For example, a simple "About Us" page may have sub pages of "Contact," "Blog," "History," "Locations" I would like ...
0
votes
0answers
20 views
+50

Search API Referencing entity relations

I am working on a project where i would like to be able to create a search api view that has a relation to the referencing entity. The use case: I have a content type: Products page that holds the ...
0
votes
0answers
8 views

Force views to write exposed form block info to {block} table during install profile

In a D7 install profile, I am trying to modify the location of a exposed filter block with db_update(), where the view is defined by a module's hook_views_default_views(). At this point it doesn't ...
0
votes
0answers
20 views

Drupal behavior not working with Views ajax

I have a problem with applying my js to Views after its filter is changed using ajax. I'm really tearing my hairs out for a while... As obvious in this question - my js is applied only on first load, ...
2
votes
2answers
26 views

Add a filter to my view before executing

I have a view and I want to get it's results. $nview = views_get_view('tasks'); $nview->set_display('page'); $nview->pre_execute(); $nview->execute(); If I have 'nid' filter added to my ...
0
votes
1answer
13 views

Use theme_image_style twice

I am trying to add different html class attributes to images based on what view they are being output with. I have created two image styles using the administrative interface, here are the two machine ...
0
votes
0answers
6 views

Make a Search view have the same options as a Content view

I have created a Content view that works perfectly, believing I would later add facets to it once Solr is up and running. Now that Solr works together with Search API, I realize that to use facets I ...
0
votes
0answers
6 views

How to filter the Entity Reference field -entity selection to show only content of current Group?

This applies to the Entity Reference field and its setting to filter the selectable items (it is the 'entity selection' section). The Entity reference field points to nodes of type 'Group Category'. ...
0
votes
0answers
9 views

Using views to overwrite Taxonomy pages for content *and* user terms?

First: I'm developing a site on a site-wide Drupal 7 installation. It's not quite vanilla Drupal, but I can't add modules to it. What I'm trying to do: Use views to create a team directory. The ...
0
votes
0answers
21 views

Drupal view filter between two dates on published date

I have a problem with view and filter on published date. In the view i display all my contacts with their published date. It's the published date of the contact not a field date in entity contact. ...
0
votes
0answers
7 views

No contextual link while display views block in panel

I have used drupal 7, panels, views. I have created views blocks and created panels to display page contents. Now the problem is raised. When i tried to add views block into panel, if the display ...
0
votes
1answer
17 views

Search keyword with selectable exposed filters

I'm trying to make a search view with one textfields and two checkbox filters (body, tags). The search text would only search the selected fields and would show results as summaries. I've tried ...
0
votes
0answers
13 views

commerce_marketplace problem in viewing products of each store

I'm trying to use Commerce Marketplace module but I don't know if I'm doing wrong or it's a bug. After enabling module, I have added Entity reference field of store to my product(cmp_o_store), then I ...
1
vote
0answers
25 views

List those nodes which are not referenced through a reference field in other nodes?

I have content type which has a node reference field of the same content type. I want to list only those nodes which are not referenced through this node reference field in any other node. Is it ...
0
votes
0answers
23 views

How to add margin between columns with Drupal Bootstrap View Grid

I need help I'm trying to add some margin between columns using drupal Views Bootstrap module the grid view but the columns are closed together. How can I add margin between columns. I have tried ...
0
votes
0answers
7 views

Contextual Filter Problem in Drupal Commerce Using Indexed Textfield

I am trying to filter products by brands, which have been inputed into a text field in Drupal Commerce and indexed. If I try for instance "Breitling" in the contextual filter it works perfectly and ...
2
votes
1answer
22 views

How do I add a link to an operations dropdown menu in views?

I am using Commerce Kickstart 2. There is a view that lists all of the orders. On each order, there is a dropdown menu with the options of 'Quick Edit' 'Payment' and 'Delete'. I want to add my own ...
0
votes
0answers
15 views

Working w/ Custom View Template

I'm cutting my teeth on custom view templates.. specifically: views-view-table--MYNEWVIEW.tpl.php I've copied the default template code into this file. When it's looping through the rows, building ...
0
votes
0answers
12 views

Custom HREF errors

I'm trying to implement a News archive. Here is what the header(for ever page) looks like. Here is what the underlying HTML looks like. For this to work, I have to have my link as ...
1
vote
1answer
9 views

Views: alter data of a View of another module

I wanted to add a relationship to data in a View of an existing module, so I've hacked the code (the function modulename_views_data) and it works. Now I want to create a new module to do this ...
0
votes
0answers
6 views

Add a select filled with a field values to a Views's view

I am trying to add a filter for a view I created using Views module, I want this filter to be filled with values from the database so I can display it as a select. But I can't seem to figure out how ...
0
votes
0answers
6 views

Highest performant way to edit a views field value inline

I have a complex project management site, which requires performance being optimized for each functionality, especially the way views fields can be edited inline. It has a task list view in which ...
0
votes
1answer
17 views

In a Quick Tabs module what does this display do in a TAB TYPE view?

There are two options in my Quick Tabs settings: display:Master block:sid(depends on the view you have selected) I want to know their individual effects on output.
0
votes
2answers
21 views

How disable view page functionality and revert to pure view with master display?

On view setting page I have view with menu link and path. I want to turn it off, revert to basic view master. I've try to remove menu, but didn't change anything. Then I try to remove path ...
0
votes
0answers
5 views

Howto archive a new response page for a view block with exposed filters?

In drupal 7 i have created a view with a page and a block. Inside the views block I have exposed filters. I placed this views block on the frontpage. The exposed filters only work with ajax enabled, ...
0
votes
3answers
19 views

Views: link to an admin page

I want to print a link in place of a field in case of No Results Behaviour. The link is to admin/commerce/products/add/, but drupal always add /content/ before my relative address. I've try ...
0
votes
0answers
16 views

How to render views field without executing a view?

My task is to update field content via AJAX on node page and on view page both. On node page I can get rendered content of any field by calling field_view_field('node', $node, $field_name, ...
0
votes
1answer
28 views

How to merge two views block result to a single block

I installed the flag module. Created two flag entities node(for node pages) and term(for taxonomy term pages). Created 2 different views with block display. The requirement is to display latest 10 ...
0
votes
0answers
20 views

Relative date in grouped filter does not show textfield for data

I have a problem with grouped filters. I want to specify a relative date but a textfield does not appear. My result was I want to achieve something like this below. Thanks in advance. Credits to ...
0
votes
0answers
14 views

Block views cause page.tpl.php not to render

Weird problem -- not sure what is going on. I have a view, which is stored as a block, and that block is shown in the "Content" region of a custom theme which is itself a sub-theme. The sub-theme ...
0
votes
0answers
14 views

Views: relationship between tables in two different databases

I've a View that shows data from an external database I want to show also data of another table (from the default drupal db) that has a logical relation (like a foreign key). The databases are on ...
0
votes
1answer
19 views

Contextual Filters in a 'Tree-style' View

I am using the Views Tree Module which allows me to create a View that illustrates parent-child relationships. My 'associations' go like this: I have 3 content types which entity-reference each to a ...
0
votes
1answer
27 views

step by step filtering drupal view

hi i have a site in which i want to show items, now i want to be able to filter the items based on several paramaters (*note the parameters aren't related to one another which is why dependency filter ...
0
votes
2answers
22 views

Internal URL or menu callback to use node/entity content without html/page wrapping

Does anyone know, if there is any work-around or regular setup for panels or custom code known, to be able to use a url/node/%id or node menu-callback to render node/entity content delivered without ...
0
votes
0answers
10 views

Commerce & Views: Display Products by Term Reference

I have products that have a term reference field called "Ingredients", when the user enters a product, they should add all the related ingredients in this field. I also have links on the left side ...