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.

Relate two views

Posted by supradhan on October 8, 2012 at 4:09am

Hi all,

I need to relate the two blocks (created via views). I have the 'latest news' block and another block displaying 'press release'. But there is repeat of some nodes in 'latest news' and 'press release'. So, I want to prevent 'press release' block displaying already loaded nodes in 'latest news' block. Please help.

Is there any modules to solve this issue?

Thanks,

Read more
1 comment Categories: ,

メンバー勤務表を作りたい(カレンダー表示)

Posted by Shin-gdo_J on September 4, 2012 at 6:28am

お久しぶりです。

カレンダー(モジュール)絡みでいくつか質問があります。
ある団体のサイトを作っており、その中に「複数メンバーのプロフィールページと、それにリンクする勤務表」を作りたいと考えています。

具体的に、ある病院にドンピシャの例があります。
http://pediatrics-chiba-u.org/outpatient.html
ここにあるように、マンスリータイプのカレンダーのそれぞれの日付の担当者名をクリックすると、その担当者のプロフィールに飛ぶようにしたいわけです。
ここのサイトでは、プロフィールページは複数の人が1ページにまとまっていて、ページ内のアンカーリンクに飛ぶようになっていますが、今回、せっかく Drupal で作るのですから、プロフィールは「1名1ページ(ノード)」で作り、そこへのリンクが張られるようにしたいわけです。
サイト自体のメインの「プロフィール紹介ページ」は、その各自プロフィールノードを Views でまとめて、上の病院サイト同様に複数人の概要を1ページにまとめて表示しようと思っています。

ちなみに、ここと同様には担当者は各日あたり一人であり、それがカレンダー上でプルダウンメニューで選択できればベストです。

Read more

Views refactoring ideas #Round 1: The View object.

Posted by sylvain lecoy on August 23, 2012 at 11:33pm

The main problem is highly related to the view object itself, which has grown organically. The main goal of this discussion is to separate concerns from the view object (reduce its capabilities) to creates an API that is loosely coupled (that is, 3 interfaces that deal with: Configuration, Data Source and Rendering). An anecdotal evidence is that this object is known to be the heart of the system.

Read more

Views: "I have a hammer and everything else is a nail"

Posted by sylvain lecoy on August 20, 2012 at 9:53am

I am going to intensively use the chapter 5 of the Anti Pattern book on the Golden Hammer because it is exactly what views is. Putting it in core would be in my opinion a big mistake. I will explain first what is the problems of this anti pattern, and why the "in core" wont magically solves all the code and management issues whereas the general solution should be: expand your horizons.

Background

Read more

Views In Core Sprint

Posted by greg.harvey on August 15, 2012 at 1:09pm
Start:
2012年08月26日 (All day) - 2012年08月28日 (All day) Europe/Paris
Event type:
Sprint

Views in Core Sprint happening in the Le Marais district of Paris from 26th-28th August. So far we think there are nine people attending, including most (if not all) of the key Views developers and some interested others. If you want to join in, contact us. There is a limit to how many people we can organise, but this sprint is happening and we'd like to make the most of it, so if you can help and want to step forward then do let us know.

Read more

See older post http://groups.drupal.org/node/243613

Posted by spessex on July 20, 2012 at 2:15pm

Apologies for the re-post but I'd made this request via other groups and had not thought of placing it here so it's been positioned toward the back. If anyone could provide any advice it would be greatly appreciated :-)

http://groups.drupal.org/node/243613

Read more

Views (Table Format) - how to show ONLY those fields that have been filtered as opposed to all fields?

Posted by spessex on July 19, 2012 at 3:36pm

I have a view showing a table with say about 20 fields attached to it and exposed filters for all these fields. My question is assuming I am only filtering on 5 fields how can I ensure the table only shows these 5 fields that I have filtered as opposed to bringing back the results but still showing all the other fields as well?

Read more

hook_query_alter???

Posted by daneelcm on July 18, 2012 at 4:27pm

Anybody knows how did I can change the target database via hook_query_alter or other hook launched before the execution of a query?

Read more

Using views as a reporter for non Drupal Database

Posted by daneelcm on July 16, 2012 at 9:16pm

I want to use views as a reporter for a non-Drupal database. I write a module to use an extra connection to other database using the target database so i can make querys to this db (see http://drupal.org/sandbox/daneelcm/1632910).

What did you recommend me for this?

Read more

Custom Views Handler Question

Posted by tms8707056 on June 9, 2012 at 4:01pm

I am digging into the Views API to try and customize a filter handler. I am trying to filter a node reference field with multiple values. I have found that the many_to_one handler functions to filter items "such as terms (many terms per node) or roles (many roles per user)". This sounds like what I need since each of my nodes may contain multiple node references on the same field.

Read more

Using exposed views with Remote Blocks module

Posted by sgalindo88 on May 24, 2012 at 1:55pm

I am not sure if this is where I might get some help with this issue but here it is.

I am trying to use the remote block module to grab blocks(which are actually exposed views) from one site (Site A) and display/work in another site (Site B).

The module displays them correctly and with no problems but when i try to search or used the exposed widget(filter block) it tries to look for the content within Site B and it can't find it so I get a 404 error.

Is there any way to configure this module to get this to work? or is there any other module or solution to get this to work??

Read more

Help with a next/previous item view.

Posted by wipeout_dude on May 19, 2012 at 11:32am

Hi,

I have to add a new feature to a site.. Basically there is a "schedule" content type with week commencing field.. What they want to achieve is a the ability to go to the "next week" or the "previous week" easily without doing back to the main view of "all weeks"..

My initial thought was that this could be done with a view as a block showing three successive weeks with the currently viewed week in the middle.. While this wouldn't be a next/previous as such it would provide the required functionality..

Problem is I can't work out how to get it to work..

Anyone have any ideas?

Read more

How to remove node from view if node's field is empty

Posted by drupalprojects on April 5, 2012 at 9:00am

Hi
I'm usign Drupal 7 + Views.
I have a content type with Gallery field which is Image field with unlimited number of values.
I want to list the nodes with at least one image and hide nodes without images uploaded.

Let's say I have 2 nodes:
1) Page 1 with images
2) Page 2 without images

So I want page 1 without images to be displayed in view.
I've tried to add Filter Criteria: Content: Gallery (field_images:delta) - Is Not Empty and it works - Page 2 without images is not displayed anymore, but Page 1 appears twice. See attached screenshots.

Thanks!

Read more

Display Field conditional on Node Type

Posted by kevin.mcnamee@m... on March 27, 2012 at 10:45pm

Hi,

I am using Draggable tables to organise nodes. One node type is defined as parent for the other node types. I wanted to display a "delete" link beside the child nodes, but not the parent nodes.

Read more

CiviCon 2012 Sessions Announced

Posted by dggreenberg on March 9, 2012 at 10:13pm

Want to learn about the latest developments in CiviCRM Webform and Views integration?
Want to discuss the differences between developing for CiviCRM and developing for Drupal?
Want to share tools and best practices for managing medium to large CiviCRM + Drupal installations?
Want tips and tricks for customizing CiviCRM and building your own reports?
Want to learn how to integrate CiviCRM with other modules and applications using the API?

If so, there are sessions for you at CiviCon 2012 in Berkeley, CA on April 2nd!

Read more
Categories: , ,

How to list members in a group using views Drupal 7 [ Profile 2 + Organic Group ]?

Posted by Energyblazar on March 2, 2012 at 12:50pm

I am using Profiles 2 and Organic groups.

I was successful in listing users via views > Users.

I am using "profiles 2" module to collect and store details of users rather than the core drupal user management.

I have created few groups using "organic groups" module.

My question is how to list all the "PROFILES" (created via profile2 module) of members belonging to a group using views ?

Thanks....

Read more

Dynamical exposed filters

Posted by dorkster on February 19, 2012 at 3:56pm

Hi guys!
I am relatively new to drupal and have stumbled upon a pretty complicated problem... At least for me...
I have a shop, there are better exposed filters, basically i use it to have checkboxes... Those filters are using ajax...I am using taxonomy id filters.

Read more
Categories:

Calendar with footer, using data from another content type.

Posted by mtg.nampa.net on February 16, 2012 at 1:13am

Making a calendar of events. In the footer section, adding in a view of another content type which uses the 'Inherit contextual filters'.

I can 'Preview with contextual filters' and everything works great.
In the real window, the view in the footer never changes. It's like the contextual information never gets passed to the footer.

Any ideas would be greatly appreciated.

Thanks, MTG

Read more
1 comment Categories:

Handler using for a db field/column already defined in another handler

Posted by ghankstef on February 15, 2012 at 12:31am

I am working on an inline ajax comments views handler module for Drupal 6 (an hopefully Drupal 7).

The idea is add a field to a view that just adds ajax loading of comments and adding new comments via ajax. I actually have the javascript and ajax callbacks all worked out, but I am new to making views handlers.

I want to define a "field" for the node _comments_statistics table's comment count column in my hook_view_data hook , but the problem is it already defined by views module itself. So, when I try to add it in the views UI, I actually get it showing up as

Read more

Views and Tabs..

Posted by wipeout_dude on February 13, 2012 at 9:02am

Hi,

I am having a problem getting views to display the taps I want..

Basically I have a views "page" called Equipment which is a listing that is available to the public.. I then have another views "page" called Administer Equipment.. I would like the Administer Equipment view menu to appear on the Equipment page for users with the edit permission to the content type..

I have tried every way I know how but I can't get it to show up.. I have added views tabs to nodes before but never to another view.. Maybe what I am trying to do doesn't work or maybe there is a trick to it..

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 によって変換されたページ (->オリジナル) /