Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [views]

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

4
votes
2answers
735 views

How do I control the “more” link from a views content pane to point to a biblio filtered page

I'm using Drupal 6. I'm trying to create a view pane that lists three biblio items matching a particular term, and then offers a link to more items filtered using the same term. Biblio allows me to ...
1
vote
4answers
4k views

How to create a block with views filter form available on each page of the site?

This is for a site of a small real estate agency. I have a property_offer content type set up and offer type vocabulary, with 4 terms (Buying, Selling, Put out to lease and Take on lease). Then I ...
14
votes
5answers
3k views

Building a Views Filter

I want to build a filter for a custom module I built and have integrated with views. In essence, the module allows you to define types of relationships between different nodes. I'd like to create a ...
1
vote
1answer
407 views

Custom SQL: nodereference joins and latest VID

I'm having a heck of a time constructing a custom SQL query. The query has multiple nodereferences and needs to return the latest node revision. I understand joins pretty well, but for some reason ...
2
votes
1answer
1k views

Gmap Views Module - Popups are too big

I'm using GMAP module and its views counterpart. The issue I'm having is that I'm using a custom text field to display fields wrapped in HTML that I have pulled in from the query. However, the popup ...
5
votes
3answers
2k views

Views Slideshow vs list View+jquery cycle lite?

The rotating images on my work site's home page are created as a View in list format. I'm using the jQuery Cycle Lite plugin for the rotator effect. The cycle.lite.js file is set in the scripts array ...
3
votes
1answer
849 views

What argument to use in Views that excludes the node currently being displayed?

For instance: if you have a view that produces a list of titles of nodes of content type X, how can you make that list exclude the node that is currently displayed to a site visitor?
10
votes
5answers
17k views

hook_preprocess_page(): how to tell a views page?

Im writing a custom module that need to insert some javascript and css files only in a Views page. Im using hook_preprocess_page, but I can not tell if the current page is from a view: function ...
0
votes
2answers
121 views

How to generate a list of which Features are enabled in which Spaces?

I'm running a Drupal 6.x site with Organic Groups, Features, and Spaces, and I'm interested in generating a list of which Spaces have which Features enabled. Preferably a table, with Spaces along the ...
2
votes
1answer
103 views

Making responses to public nodes only viewable by the creator and the originator

I've got a prototype site built in D6, pertinent modules: CCK Comment block Node Comment Views Views Or The site is built around a list of open requests; to solicit a private response. These nodes ...
5
votes
2answers
3k views

Is it possible with Drupal Views to have AND and OR in a filter set?

I am attempting to build a view with four filters (A, B, C, D). With Views 3 it is possible to select whether you want these filters to be chained with AND statements or OR statements. Is there a way ...
6
votes
3answers
4k views

Duplicate taxonomy terms from view

So I haven't yet been able to find a solution to this without using a preprocess function to check for duplicates or just using the 'tagadelic' module.. it'd be nice to get some closure. How do I ...
5
votes
1answer
4k views

How to create relationships between Taxonomy vocabularies?

I'm trying to build a site with similar content conventions to Craigslist. The problem is, I don't really know a good way to create multiple vocabulary relationships in drupal. Here's the end result I ...
24
votes
4answers
11k views

Custom query in Views?

At some point I found the need to modify an SQL query generated by Views, in the end I overrode views_pre_execute and changed the query for that specific view. This feels like an ugly hack to me and ...
3
votes
4answers
2k views

Views 2 Conditional Filter

How can I apply a conditional fitler to a view (using views 2)? For example: I have a view which displays the teasers for several different node types using a filter on Node:Type in [Blog entry, ...
5
votes
4answers
4k views

How to access data from external MS SQL database tables in a Drupal site running on MySQL

I am currently working a academic medical department that uses a lot of MS SQL databases because faculty set them up - making us the maintainers :( We also recently launched Drupal 6 site on LAMP, ...
12
votes
3answers
11k views

What does vid mean

I have designed a view and I see this query in the preview section: SELECT node.nid AS nid, node_data_field_crm_history_brokerid.field_crm_history_brokerid_value AS ...