Search Results
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 |
The Views module allows creating lists of entities with a flexible query builder.
7
votes
Accepted
SEO-friendly Views: How do I make contextual filters work together with exposed filter crite...
You're nearly there, but you need to replace your exposed filters with equivalent Views arguments (i.e. Country and City). … Views should do the job on its own for you, though. …
3
votes
How to change the HTML Output of a view?
You should also take a look at the Semantic Views module, which allows you to change the HTML output of the view from within the Views UI and largely avoid getting involved in template files. …
0
votes
How to do arithmetic on a contextual filter
Views PHP normally be my answer, but it appears that it doesn't support PHP in Contextual Filters quite yet... … So you'll need to create yourself a module and then:
Implement hook_views_api() to tell Views your module wants to use its API - see: How do I use hook_views_query_alter()? …
0
votes
Sort view before print
Let Views handle all of this, thus gaining access to the UI and all it's powers. … The latter 'view within a view' approach is better for sustainability and sanity because it uses the Views UI and theme layers more consistently. …
1
vote
How to obtain raw field value from db table in a view?
One of the last things Views does when it renders a view is to process all the fields raw data and format them according to settings, then theme according to the default or your own custom views templates … from within views fields, arguments etc. …
3
votes
Relating content types to be used in Views filters
From here you can properly relate Games and Developers, so Views can use these relationships and allow you access the associated Games from your Developers view. …
2
votes
Accepted
Views - Change view based on number of results
The only way I can think to do this will require some views, and a little code:
Build view that gets the list of nodes as Node IDs (nids) for a given taxonomy term. … With these building blocks you can call the appropriate Views display using some code. …
3
votes
Accepted
How I create table View of webform submissions
You can create your own tables of Webform submissions with Views...
Make a new view of type 'Webform submissions'
Add a page, set the path and set the Style to 'Table'. …
1
vote
Pull first image from each node to use in view
Assuming you have something similar to a field_images imagefield on your content type:
Install ImageCache and set up some 'Scale and Crop' or 'Scale' presets for the thumbnails you want.
In Content …
2
votes
Accepted
Performance using location based information and proximity filters
You can either implement a views hook to change the views arguments, or use Views PHP to add custom code to your arguments which allows them to be rounded within the view itself. …