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.

Cloned 'og_ghp_ron' view not displaying same content.

Posted by hsatish on July 13, 2009 at 7:18pm

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

Passing Arguments from a Page to an Attachment

Posted by trevorkjorlien on July 8, 2009 at 2:59am

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

KML Feed views plugin?

Posted by raintonr on July 4, 2009 at 1:08pm

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

exposed filters with hierarchical select

Posted by mp on June 25, 2009 at 4:44pm

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

Views in views in views ...

Posted by hades666evil on June 24, 2009 at 11:00am

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
Categories:

Different Banners for Different Views Filters

Posted by trevorkjorlien on June 23, 2009 at 11:18pm

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
Categories: , ,

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

Posted by jeff00seattle on June 18, 2009 at 1:09am

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

[Solved] Views 2: Handling Arguments Titles

Posted by jeff00seattle on June 17, 2009 at 7:06am

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

Setting a view relationship around the content author

Posted by brentonj on June 16, 2009 at 4:22pm

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
10 comments Categories:

building a view across multiple node references

Posted by ldweeks on June 15, 2009 at 6:51pm

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
2 comments Categories: ,

[Solved] Theming a file and location

Posted by bstoppel on June 15, 2009 at 1:12am

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

New Approach to Content Types.

Posted by mgparisi on June 9, 2009 at 4:20pm

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

Media Browser style plugin

Posted by ademarco on June 3, 2009 at 8:44am

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
Categories:

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

Posted by benjaminlhaas on May 29, 2009 at 8:56pm

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
3 comments Categories: ,

Accessing Menu within a View - is it possible?

Posted by i.chris.jacob on May 29, 2009 at 7:43am

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
4 comments Categories:

Using Views to embed an Image gallery in another node

Posted by jrtayloriv on May 26, 2009 at 8:46pm

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

Proper way to mess with exposed filters

Posted by archard on May 25, 2009 at 3:19am

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

New styles

Posted by mindix on May 24, 2009 at 1:16pm

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

Question about a View with Taxonomy-Filtering

Posted by Chris Einkauf on May 23, 2009 at 2:22am

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

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

Posted by mariano86 on May 19, 2009 at 4:42pm

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
Categories:
Subscribe with RSS Syndicate content

Views Developers

Group organizers

Group notifications

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

AltStyle によって変換されたページ (->オリジナル) /