Views Developers

Events happening in the community are now at Drupal community events on www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

This group exists as a place for people interested in the group to talk about Views development; all development talk is encouraged here, from people who want to work on Views core to people who are interested in Views' API for their own modules. This is a good place to:

1) ask questions
2) talk about problems
3) propose ideas.
4) talk about views related projects.

This group is now unmoderated, and anyone can join at any time. Public posting of ideas is encouraged.

What I want most out of this is to keep track of what views related projects are going on and their status, and proposals for what people would like to see as Views moves forward.

Note: This is a working group. Do not post jobs here, you will lose your posting privileges entirely. Do not post support requests here; they will be deleted.

hsatish's picture

Cloned 'og_ghp_ron' view not displaying same content.

I am using latest versions of Organic group and views modules.I have cloned the default og_ghp_ron view of group home page and renamed as og_ghp_test and enabled it as the group home page view.

But this is not displaying the same content as of og_ghp_ron view.I am not able to understand reason for this.

Read more
trevorkjorlien's picture

Passing Arguments from a Page to an Attachment

So what I'm setting up is a restaurant directory of the city I live in. I have created a content type called "restaurant", and several taxonomies (cuisine, price, geographic zone) to attach to the content type.

I have set up a View, that with exposed filters using taxonomy terms, users can select by drop-downs the type of restaurant they want to go to (again... cuisine, price, geographic zone). Once the selection is made, it shows the restaurants tagged with those terms. So far, that was fairly simple to set up.

Read more
raintonr's picture

KML Feed views plugin?

I'd like to make a patch for the D6 version of KML module so it supports views 2.

What is required is a feed of nodes. The feed will hold placemarks and the text for those placemarks should be defined using the row plugin. Ie. should be just a select number of fields, or the node (teaser or full). If fields are chosen then clearly a location field should be in there and it should be able to be hidden from display (as you can exclude various table columns with that option).

Read more
mp's picture

exposed filters with hierarchical select

hello

D6
modules: cck, views, hierarchical select (newest versions)

i´m working on a real estate website. i added some content types like house, appartment and so on
if you add a real estate, you can add a location too, this is realized with taxonomy.

the location is split in country > state > destrict > zip-code > city> street
country is a vocabulary, state is a vocabulary and so on ...

now i have a view with exposed filters and there you can search for the location too.

Read more
hades666evil's picture

Views in views in views ...

Hi,

With views 2, I've got a request wich select a list of fields from nodes. Among these fields, I've got some node references. It outpour something like this :

  • node 1 string field
    node 1 image field
    node 1 node reference field
  • node 2 string field
    node 2 image field
    node 2 node reference field

Instead of having a node title link(or just a node title) representing the node reference in the view, could I outpout directly the teaser or the full representation of the node, wich would have bee overrided with a view. In the referenced node view, I could have another node reference with a view diplay, so I would have views in views, in views, in views ...

Read more
trevorkjorlien's picture

Different Banners for Different Views Filters

Hey all,

Our newspaper has a restaurant directory for the city we report in, and we're building a restaurant directory. What I've done is made a content type called "Locations" and used taxonomy to identify different locations as venues, restaurants, etc...

In this case, I've set up a view that will only show locations tagged under "restaurants".

Read more
jeff00seattle's picture

Views Handler: Custom Sorting of Custom PHP-Script-Based Rendering

Hi

I have created a custom views_handler_field that has multiple options, as defined within a customized method views_handler_field::options_form(), of rendering a returned value provided by $this->field_alias. The customized rendering of $this->field_alias are various PHP scripts based upon the selected option; e.g. If option A, then render alias value with PHP_A(), etc...

Read more
jeff00seattle's picture

[Solved] Views 2: Handling Arguments Titles

Hi

I am confused on how to present a Title that is representative of a prepared Path; whereby the value used within Path's % args will not be the presented value used by the Title.

For example, let's say I have a content type Project that is represented by Project ID 65 and a Project Name "Build Bridge". Every Project has a set of Tasks, and each Task maintains its relation to a Project with a database field task_project_id.

I have got the basics down on how to use Views' arguments:

<

ol>

Read more
brentonj's picture

Setting a view relationship around the content author

For my d6 site, I was wanting to display two different types of nodes both of which are created by users. Not wanting to show my stupidity I searched and searched but couldn't find anything and had previously writter a dynamic filter code for d5 which struck me as messy. Finally, I wrote something for myself that can enable it as a relationship in my code. Thought I'd share it in case other people needed the same code. If there is a simpler way, I'd love to know it but to me this is incredibly simple and shows the power of views2.


function user_relation_views_data(){

Read more
ldweeks's picture

building a view across multiple node references

I'm working on a site that uses Ubercart and contains a content type called "product". Each "product" node has a node reference field to nodes of type 'foo'. Each 'foo' node has a node reference field to nodes of type 'bar'.

If the user clicks on the link for a product, I want to display all the fields for each 'bar' node that is referenced by each 'foo' node for that product. So far, I haven't figured out how to do that.

Is it possible? If so, how?

Read more
bstoppel's picture

[Solved] Theming a file and location

Hi All.

I've been beating my head against the keyboard for quite a while now (days and days) trying to solve two problems. I am hoping some insight will help me save my sanity.

The first problem is with getting the path to an uploaded file.
The second problem is with getting the data out of a "location."

My set up is Drupal 6 with Views 2, CCK, and Location CCK. Everything is up-to-date.

Read more
mgparisi's picture

New Approach to Content Types.

I have been writing up a white paper on how Drupal could work, but wanted to submit an initial and important first step. I know allot of people see comments as nodes being a major issue. Many want it, while others site potential problems with performance. Without comments as Nodes we have no code uniformity making any CCK features and Views features needing exceptions based on if its a node or if its a comment.

Read more
ademarco's picture

Media Browser style plugin

I've contributed a module called Media Browser providing a style plugin extension that formats a view display in an easy-to-use content browser.
Here its project page: http://drupal.org/project/media_browser. Every kind of feedback is more then welcome.

Read more
benjaminlhaas's picture

Using views to display posts in all groups that any user belongs to

Hi all, I'm having a bit of a quandry because I think I'm trying to do something that might not possible using the Views module: I'm trying to display recent posts from all the Organic Groups that a user belongs to. For example, say I have a user whose has a drupal username of "ben" and belongs to three groups. There is a page for each user on the site, in the format "users/[username]", so in this case we have the page "users/ben". On this page I'd like to list recent posts made in all three groups that ben belongs to.

Read more
i.chris.jacob's picture

Accessing Menu within a View - is it possible?

Looking to create a view that displays all Nodes not assigned to a Menu.

Wondering if this is possible, and if not how it could be achieved in a "Viewsy" kinda way ;-).

Read more
jrtayloriv's picture

Using Views to embed an Image gallery in another node

I want to create an image gallery using the "Image Gallery" module, but instead of having the gallery displayed on it's own page, I'd like to embed & display the gallery in another node.

Read more
archard's picture

Proper way to mess with exposed filters

I am writing a module that lets users save 'searches' made using exposed filters.

The idea is that I use hook_form_alter to add my checkbox to the exposed filters form, as well as add my own submit handler to the form. In my submit handler I find out if the checkbox was selected, and if it was I save the exposed filter inputs to my database table along with information about the user.

Read more
mindix's picture

New styles

Now my site-catalog have a lot of table views. My catalog would be much better if it look like these examples: http://drupalmodules.com/top-downloads , http://www.eshops.lt/category/apranga , http://ejans.com/ ...

Read more
Chris Einkauf's picture

Question about a View with Taxonomy-Filtering

Sorry this is so long. I tried to include as much detail as possible, so it could kind of act as a “recipe” for future websites like mine. (By the way, I didn’t know if this applied more to “Views” or “Taxonomy” so I posted this in both groups. I know duplication is frowned upon, but I know that most people aren’t members of both groups so I didn’t want to select only one group if the solution really lies within the conceptual framework of the other group).

Read more
mariano86's picture

A new plugin to apply an exposed filter multiple times with diferente values using AND/OR

Hello:

I'm developing a new plugin for views 2. It allows users to apply the same filter multiple times with different values.

Then, a user can make a lists of nodes and filter all nodes created by user admin where nid beetween 4 and 6 OR node id greather than 16.

The plugin works, it has some (a lot of) bugs still, but works.

Filters are saved into $_SESSION variable like drupal does for "content admininstration" and "user administration" screens.

Read more
Subscribe with RSS Syndicate content

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: