Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 693

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

1 vote

Rotate views results based on number of times viewed

IMHO I don't think that you will be able to find a module that does this. You will need to write custom code for that. Depending on how comfortable you are hacking with Drupal and PHP you might find i …
amateur barista's user avatar
1 vote
Accepted

How can I create two distinct sets of exposed filters for use in a single view?

It looks like what you are describing is faceted search. In Drupal, a good solution for faceted search is using Apache Solr along with the Apache Solr module. Here's a video tutorial on how to install …
amateur barista's user avatar
0 votes

Connect Views and a second database

Establishing a relationship between your users' field and the book entities would definitely be possible, and rather easy with Views - if both the user and book entity where present in Drupal. … That way you will be able to harness all the power that Views relationships have to offer. You can also consider stealing some data import ideas from The Economist's migration to Drupal. …
amateur barista's user avatar
0 votes
Accepted

Drupal 7 and Views 3: Page Display and Random Appended Arguments in URL

Views doesn't have the ability to throw 404 pages because there are "extra" arguments in the URL. Views does throw 404s when there is no argument in the URL (if configured that way). …
amateur barista's user avatar
0 votes

How to conditionally display field contents in Views

The second line of code in your example has a typo, you're missing a semicolon. Also, this number you're doing here feels squishy: <?php // code ... ?>[NID]<?php // code ... ?> Is that even work …
amateur barista's user avatar
2 votes

Building a Views Filter

Here are the tutorials I found for creating Views filters: creating-custom-filters-in-views-2 drupal-how-to-create-views-2-filters-for-your-new-module fun-views-and-location They are pretty basic and … There's no other choice but to go clicking around Views functions and methods to investigate properties, inheritance, etc. If I find more tutorials I'll keep adding them. …
amateur barista's user avatar
2 votes
Accepted

How to name views-exposed-form.tpl.php per views display

Everything is possible in Drupal ;) Probably Views does not automagically provide template suggestions for the exposed filter, like it does for the fields themselves. … I will assume that you will be displaying different Views displays based on a URL path. …
amateur barista's user avatar
1 vote

How to set up no result behavior of View field that uses "Views field view"?

How does Views know that The View Created By The Views Field View Module is not returning a result - on a row-by-row basis? … from the database, and somewhere, internally, Views says: NO SHOW. …
amateur barista's user avatar
0 votes

Views caching not working for Taxonomy listing pages

Have you tried doing a print_r(), dpm(), etc. on the cache_get() and cache_set() functions to see what's going on? The output of this tends to be somewhat verbose, so I generally like to do an error_l …
amateur barista's user avatar
1 vote
Accepted

views in D7 :: remove doubles in exposed filter list

The Views exposed filters block is a Drupal form, one that can be modified via a hook_form_alter or hook_form_FORM_ID_alter implementation. … If you are in D7, the ID you are looking for will most likely be prepended with views-exposed.... …
amateur barista's user avatar
2 votes

Executing a view programmatically with input filters

I don’t think Views will provide you with the best e-mail friendly output out of the box. But you could easily write your own custom theming function that parses the output returned by the View. …
amateur barista's user avatar
2 votes
1 answer
470 views

What are the benefits of Views 3?

I am exploring a reason to upgrade from Views 2x to 3x. What major benefits Views 3x provides? Are there any major API changes? …
amateur barista's user avatar
8 votes
Accepted

When should I create multiple Displays of a View instead of multiple Views?

Code-wise, both Views and displays are represented by objects. … If you want to know by exactly how much, you can go to admin/structure/views/settings (if you are in D7) and select Show information and statistics about the view during live preview, Show the SQL query …
amateur barista's user avatar
13 votes
Accepted

views exposed filter on field collection item

Field collection items can perfectly participate as Views filters. The key is to use Views relationships. …
amateur barista's user avatar
1 vote

Attach a view to a specific node

You could also do more complex things with Views, such as attaching a View to all the nodes of a particular content type when a user with a certain role is active, just to name an example. …
amateur barista's user avatar

15 30 50 per page