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

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

“Shopping cart form” view breaks after adding a field

I'm creating a website using the Drupal Commerce module. The module implements a view for the customer's cart at "cart/my", listing all the items the customer added to her/his cart. The view used to ...
0
votes
0answers
10 views

Views: ignore exposed filters if empty

Short: I was wondering if it is possible to ignore empty filters in Views exposed filters? Long: I have several filters groups with various operators: Group 1 (field OR field OR field OR field) ...
0
votes
0answers
8 views

Auto add standard pages to organic-group

How do I automatically add menu-links to an "Organic-Group: Single" block menu? I have an organic group node type which has a field for speakers and another for exhibitors. I need my custom ...
0
votes
0answers
11 views

How to Render items from $view->result in template

So in a certain template i file is use the following code to render my images: <?php $results = $view->result[0]->field_field_images; ?> <?php foreach ($results as $delta => $item): ...
0
votes
0answers
5 views

Views sort criteria and re-direct certain nodes to a generic page

I have a simple view that displays property developments, currently sorted in Post Date (desc) order. My client now wants to include the ability to mark an individual property as 'sold' and then have ...
0
votes
0answers
9 views

my /admin URL shows a custom view from another URL

when I access site.com/admin i get a Views page that has the path site.com/admin/releases. The View is a clone of the standard Drupal Commerce /admin/commerce/products/list with some more fields. ...
1
vote
2answers
26 views

How to add button to user profile page in drupal

I start using drupal(7) 3 days ago and I have small task : I'm using Profile2 Module to create 2 type of users (candite/employer) and I Want to create a button in the wiew page of the profile of ...
0
votes
0answers
9 views

Can I add filter to nodequeueview list in the admin

Is it possible to add some filters like [language - custom field] to the list view of Nodequeue view list through Views module: "admin/structure/nodequeue/landing_blocks_queue/[queuename]" as its ...
0
votes
0answers
10 views

Create event page with basic pages related

I will try to explain what I need to do. Suggestions would be appreciated. We have a content type "Event". It has some information, as title, body, banner, etc. and referenced nodes "Event ...
0
votes
1answer
24 views

Views are disappearing randomly; always needing to flush caches

I am writing a module that has 2 views in code. At first, I pasted the code that was exported from views directly into hook_views_default_views() like so... function MY_MODULE_views_default_views() ...
0
votes
0answers
6 views

Drupal 7 Views : Allow users to select “Match All” or “Match Any” Filter

I have a Drupal 7 View with BEF and 7 exposed filters. I want to show a Radio Button below the filter with 2 options "Match All" and "Match Any". By default the "Match Any" option will be selected ...
0
votes
2answers
22 views

Rewrite the html tags for frontpage

I am using views for front page. I was able to customize some things. But I have some <h1></h1> in the body of an article and for the frontpage I want to change that automatically into ...
0
votes
1answer
20 views

How can I make new contents combining 3 blog's story

I am making a Website with drupal. I want to make new contents gathering 2 or 3 other contents. For example, Authenticated User can make a new blog combining 3 blogs already published. And the new ...
0
votes
0answers
7 views

Views: show a list of users-profile who have multiple taxonomy terms?

I'm trying to set up a contextual filter that creates a list of profiles who have all the taxonomy terms the user choose. I understand that there is no contextual filter like "User: has taxonomy ...
0
votes
0answers
15 views

Views exposed filter conflict with custom written module

In my site a page has both the exposed filter and a custom block created for displaying a calendar. When I change the views exposed filter dropdown it will also affecting the calendar block. I have ...
1
vote
1answer
7 views

Views Eposed filter - proximity search, include content without a postal code

I have a proximity search set up using gmap location by postal code. Using Drupal 7/Views 3. The exposed filter allows the user to filter by (taxonomy)type and/or postal code. This is what I need ...
0
votes
1answer
21 views

Im using entityforms to make events on a Calendar. How can i prevent duplicated dates?

I am developing a Booking System and I am having a issue i.e. How can I prevent duplicate events to be registered ? Right now I am using: Calendar and Date for the event management and Entity Form ...
0
votes
1answer
11 views

Drupal 7 add calendar module. Doubleclick on a day to add calender item for that day

Adding 50+ calender items to my drupal Calendar is a pain and takes a lot of time clicking and selecting the right date. What would be awesome is that it would be possible to just doubleclick or click ...
0
votes
0answers
13 views

VBO -> Modify entity values (not change but increment)

I now have a VBO where I can modify users. In the operation settings I made sure that only one field (credits field) can be modified. But I was wondering if it's possible when they give in a value ...
0
votes
1answer
8 views

View Contextual Filter format for Block

I have created a View on my /blog/ page for displaying blog articles. For layout reasons this view is in a block. This view has a contextual filter for Taxonomy tid on node and, since it is a block, ...
0
votes
1answer
35 views

preg_match return empty array at views field theme override

I try to override views-bulk-operations field in order to add a label. preg_match at $output variable returns null array and var_dump($output) returns a string(41) characters long which is wrong. ...
0
votes
1answer
20 views

Getting image URL and rewrite results for Views Module

I have a Content Type of only an Image field and I am using Views module to create a view for it as in follows <div style="background:url(IMAGE1_FULL_PATH.JPG)"></div> <div ...
0
votes
1answer
17 views

Show datetime value in views with entity api

I made a custom entity with a date field stored as datetime in mysql. I see the proper output in my content, and all other field values in my views except the datetme value. Only the label is shown. ...
0
votes
1answer
19 views

Advanced forum topic list pagination settings is not applied

I tried to change the pagination settings (number of elements displayed) in the view corresponding to the topic list, but in the front end, this setting doesn't seem to be applied. the original value ...
0
votes
0answers
12 views

Reusable views behavior, but none of the known plugins

I would like to create a reusable behavior for D7 Views 3. E.g. the purpose could be to display exposed form and pager in one line with css float. Or it could be to move one part of the exposed form ...
0
votes
1answer
11 views

node access by related fields

I have created the following List field type of checkboxes to allow users to select their own content's privacy settings when creating a node called RideShares: 1|me only 2|any registered site member ...
0
votes
0answers
35 views

Unable to add field on Drupal 7 View

I am copying this question from http://stackoverflow.com/questions/25900553/unable-to-add-field-on-drupal-7-view as I can't see a move option sorry. This has been driving me crazy, so let me explain ...
0
votes
4answers
32 views

How do I create a photobox for image?

Can anyone please guide me on how do I create a photobox that contains image and I wanted to display that image on landing page. I have created content type as an Image. But, I don't know how to ...
1
vote
1answer
18 views

views pass argument for number of records to display to pager contextual filter?

Drupal 7. Is it possible to pass an argument to the contextual filter to limit number of items to display in a View from the UI? IOW: can you pass an argument that replicates the Number Of Items ...
0
votes
1answer
17 views

hook_views_pre_render -> how to access variables

I have a view of teasers, and would like to check the status of each node. Using hook_views_pre_render (in the template.php file of the theme), I can access: $view->style_plugin->row_plugin ...
2
votes
2answers
19 views

create double view with same url alias for different theme

In my drupal. I created a two theme one for desktop and another for mobile using Mobile switch I change the theme. Now I Created a View as a page for desktop with alias "xxx/yyy" and for mobile also I ...
2
votes
2answers
15 views

How to pass current loged in user id in Drupal view page settings

I am new to DRUPAL. Recently I have created a view with 3 pages. 1st page shows in the main menu . 2nd and 3rd page shows in main menu . Now I would like to display the list of the images uploaded by ...
0
votes
0answers
22 views

Auto Populate a field with the contents of Commerce order?

Once the user goes through checkout and payment is completed they can get redirected to the completed order page with the contents of there order. On that page I want to create a Qr-code that contains ...
0
votes
0answers
15 views

Get nodes of taxonomy: drupal 6

I want to show nodes of a taxonomy. when i'm using this, it shows me children of my taxonomy not nodes, can someone help me plz? function louvre_web_service_selections() { $tid = 145; $view ...
0
votes
0answers
8 views

How to print addtoany widget in view?

I am using the AddToAny module. I want the widget for sharing should appear with each node I have listed in view. I want to know how to embed or print (using php) addtoany widget in view. And at the ...
1
vote
1answer
18 views

How to add a path filter to views 3 in Drupal 7?

This doesn't have to do with contextual filters but is it possible to add a filter criterion to views so that it filters the aliased path to a node? Content:Path is available as a display field but ...
0
votes
1answer
6 views

FeedsHTTPFetcher: how to parse object to get source url?

I've got several content-types based on imported RSS feeds (Feeds import, Simple Pie library). In a Views pre render, I try to display an information stored in ...
0
votes
0answers
23 views

View as a block

If I want to add sort criteria to a view displayed as a block I have to use ajax. For using ajax the entire page is not refreshing. But if i want to refresh the page when applying the sort criteria, ...
0
votes
0answers
13 views

total user count and online count

I achieve this with custom block and sql-queries the user table to get Total Users and Online Now. But i am curious is this possible with Drupal Views module ?
0
votes
0answers
19 views

Views filter referenced content

How can I filter only a part of the view, the referenced content only. Or should I do it in another way, like with rules? I would like to remove/unpublish the referenced content when timer drops to 0 ...
0
votes
2answers
15 views

Have an exposed filter on a view be a list of US states

I would think this would be a pretty common thing, but I have a job board that I am exposing for users to search on. They can search by city and/or state so I exposed some filters on my view for city ...
0
votes
1answer
14 views

Themng the grouping fields in Views

I have a view which lists dishes by category. Category is a tag ("main", "soup", etc). I use grouping fields, and what i wanted is to make a kind of anchor menu for this view. Is it possible to style ...
1
vote
2answers
32 views

How to use a field other than node id or term id as contextual filter?

I have a content type "Person" which has a field called "state". On the node page of any "person", I want to display other nodes of "Person" which has the same value for the "state" field. For e.g. If ...
0
votes
0answers
13 views

Drupal Views - how to show a sporting club's “longest run”?

I have a database of football games like this: date, opponent, venue, our score, their score etc Im trying to find a way to search the database and find the "longest run"; eg the longest winning ...
0
votes
0answers
7 views

Drupal Views - how to show a sporting club record holders all at once?

I have a database of football games like this: date, opponent, venue, our score, their score etc Id like to have a view that extracts things like highest winning margin highest score most goals ...
0
votes
1answer
9 views

How to add another filter to TVI default page view?

I have the TVI module installed but I wanted to add one more contextual filter currently: mysite.com/taxonomy/term/[term of tags vocabulary] what I want: mysite.com/taxonomy/term/[term of tags ...
0
votes
0answers
10 views

How To Print Taxonomy Field On Page.TPL Of A View?

Using Commerce Kickstart. I'm using a variation of the Page.TPL for a 'Collection' of products. The page is a View which lists products, but the header is a taxonomy term to which the products ...
1
vote
1answer
22 views

Drupal field that get db content

How can I make a drupal field that gets a value from a specific database/table, it should be a select list. What I need is to have a drop down select where I can see all entries from a specific ...
0
votes
0answers
12 views

Create a block view which shows a single item based on offset

I would like to create a block view which shows a single item based on offset. Let me explain ... I can easily create a block view that shows the title's of the three most recently created nodes. But ...
0
votes
1answer
15 views

Drupal 7 - Anyway to make Facebook Picture take place of User Picture if not available

I am creating a view of users that displays a list of Users with Picture and Name. This drupal install allows facebook users to sign in and automatically have an account created. Their account is also ...