Views Developers

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.

rasskull's picture

Views 3 UX workflows and ideas, round 1

Revised: May 2, 2010

If you are just coming in to read about this, we've gone through quite a few versions and the below text no longer represents the latest collective vision. Please view the highest revision file and read through the comments to get an idea of the current status of this.

Read more

Starting Views 2 Documentation

Creating this wiki page as a dumping ground for bits of documentation on Views2. It's totally a work in progress that can serve as a basis for future handbook pages.

Read more

Views 2 Theming Documentation

This is an effort to get people in the community to do some work for me. Maybe I'm a bit lazy, but this is a piece of work that I've admitted I'm simply never going to get to. Yet it is needed.

This document is intended to be a comprehensive document on theming Views. It should cover all of the basics, and it should also include tutorials. It really needs to be both.

I want to start with a topic list. I'm not even sure the best way to lay this out, so I'm going to start with the really obvious topics:

Read more
Games 4 Leaders's picture

How to return a view that FULLY matches profile with node

My issue is that I have a view that returns: (1) A field that the user has selected in their profile (Eg items in my inventory) (2) A field that has a task (which then shows the items that the task needs in order to be completed).

I want to set it up so that views checks to see if the individual has the necessary pieces and only shows tasks where the user has ALL the items.

I can get it so that it displays only the currently logged in user.

Read more
roCKeshwar's picture

users realname dropdown as exposed filter in view

Hi Everyone,

I have one working view with two exposed filters, this view display data in table format from one content type posted by users of certain role....

now i want to add one more exposed filter (dropdown) of those users who posted that data....

How would i achieve it?

any help is highly appreciated.....

Thanks

Read more
svenA's picture

A delicate sorting problem in Views

I have a Taxonomy Term Page rendered from Views.
I have nodes with two termreference fields linked to the same vocabulary.
The first is for “main category” and the second is for “related categorys”
The results are reported in a table.
When a user clicks on a category, I want that category in the top of “main category” column.
The "active" term should be placed at the top of the table.

<

table width="300px" >

Main category Sub category Read more
jbatista's picture

Create View with 2 rows of diferent Content

Can someone help me on whow can i create a View Like This? I Found this view a a theme template at http://demo.megadrupal.com/?theme=md-thenews.

This view is composed by 2 rows (see attached image).
The first one has an image, a title and a teaser and the other rows has a list of articles.
I've also tried the views_field_view plugin, but the output is not the same.

Thanks for you help.

Read more
InternetDevels's picture

Drupal modules that are successfully combined with Views

We can’t imagine Drupal without Views. Other modules can be combined with it to help you configure Views according to your website's needs. They extend the functionality of Views and add new useful features.

A review of modules that could be successfully combined with Views can be found in the blog post by our developer.
http://internetdevels.com/blog/top-drupal-modules-for-views

Read more
agiradam's picture

Related Content Block with Tags

Hi everyone;

I have an interesting problem.
I try to build some kind of related content block.

Sortly, I use tags as a channels/catagories. For example; there is a content like best Spanish football clubs and this content got three tags; Barcelona, Real Madrid, Atl. Madrid.

For me, this three tags are channels and they got own pages. I try to find related channels with the best way.

I add a image and try to explain there. I give a example with three content.
That i need is last part of image, means counts of tags.

Read more
phponwebsites's picture

Configure filter criterion for "This page override" and "All displays"

I've a view with multiple pages. I've 4 filter for each page in views. My question is Can we configure one filter to "This page override" and another to "All display"?

Read more
firoz2456's picture

How to fetch Views total number of records in page.tpl.php before views.tpl called.

See this image http://prntscr.com/7idx70 for more understanding.

I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.

I have also used module https://www.drupal.org/project/views_record_count. but this will print total number of records on Views header or footer. (Not outside of views)

Read more
geraldvillorente's picture

Drupal 101

Start: 
2015-04-06 01:00 - 05:00 Asia/Manila
Organizers: 
Event type: 
Training (free or commercial)

Inviting all fresh graduates to attend this free Drupal 101 event. Learn the basic and get equipped with one of the hottest CMS in the internet today.

Read more
drupalprojects's picture

Views - custon field handler

Hi Folks!

I need to create custom views field in my module. Basically it should behave like Node edit/delete field. I started with extending views_handler_field class and I can see and add my new field in views admin.

But when I add my new field to view - it don't display any values (empty).
My Code:

<?php
class views_handler_field_gift_delete extends views_handler_field {

    function
render($values) {
        return
'test';
    }

}
?>

Any ideas?

Read more
nithinkolekar's picture

Independent multiple contextual filters

I was looking for solution for, how to configure multiple contextual filters and always found links which is either having
1. contextual filter which support multiple values
2. more than one contextual filter configured - To allow filtering current viewing node in related block using exclude checkbox.

Before describing my use case, I need some clarification about contextual filter.
1. Is there any limitation on contextual filter per views ie how many contextual filters we can have.

Read more
pernaletec's picture

Data updated in views->result does not get rendered

Dear drupalers,

During the hook_post_execute process I'm trying to update some node fields. The idea is to make some calculations using data from views->result and then update the nodes. The node fields I want to update are part of the query too, and at the end of the story I need the data updated rendered.

Below there is an example of the piece of code I'm trying:

<?php
function my_module_views_post_execute(&$view){
if ($view->human_name=='my_view'){
$nid_node = $view->result[0]->nid;
$mynode = node_load($nid_node);

Read more
tomcant's picture

UI Developer | Greene King

Employment type: 
Full time
Telecommute: 
Not allowed

Reports to: Digital Producer
Package: £32 - 37k, depending on experience [plus benefits]
Based at: Greene King Head Office, Bury St. Edmunds

Overview

Read more
PlayfulWolf's picture

How to make exposed filter with "more" , "less", "between" operators if...

This group is the closest to my little problem which is trivial, yet cannot solve it quickly.
I have a field (D7) of "List (integer)" type where user selects his birth date form predefined years from 1900 to 2000. But there seem is no simple way to get a view exposed filter with "more" , "less", "between" operators from that field. What solution would you suggest? Want to have select lists in both cases - in field input and in exposed filter as this is good for UX.

Read more
ann b's picture

Change Records for Views

Hello,

I'd like to contribute to the drupal community so I thought I'd start with views. I'd like to write a change record, and see several open issues with the tag "needs change record". However, the issue titles start with "Change notice:" or "Change record:". Does that mean someone is already working on these?

Thanks,
Ann

Read more
gouthamlabs's picture

Drupal 7 custom table to views

In drupal 7 i am trying to retrive a custom table data to be displayed in page developed with Views, Display suite, Blocks etc. Any assistance on this would be highly appreciated.

Read more
Strae's picture

How to implements View's relationships on a custom field?

Hi guys, I've created a simple custom field (via field api) that should "emulate" references, but allow to define the "reference" type (using a Taxonomy Term).

Basically, I have an entity_type (Company, created with eck module) that use my field to store employees, and the taxonomy term give me the employee type (commercial, owner, secretary, etc...)

I cant put taxonomy term directly in the user, becose a user can be an employee of two different companies.

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: