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.

A real newbie question...about cck and multi-part forms.

Posted by mjh5598 on January 25, 2008 at 8:52pm

I got the hang of cck which is really cool by the way. I have 3 questions that pop up:
1. how to i create a multi-part form ???
2. how do i do a back button to go to the previous page and have it remember the info i added?
3. how do i can i create a dropdown of fields/nodes i created before with dropdowns and use that info in a new version of the form???

has anyone seen a good online video tutorial that i can tap into..that guy rob from the awakened voice learning center is the best with his online stuff..

thanks
mjh

Read more
1 comment Categories:

Multiple Views (teaser and table view) on 1 Page

Posted by liliplanet on January 25, 2008 at 11:57am

Hi,

Please how is it possible to create 2 views on one page which would sort in the following way : -

  1. Enhanced Listing : a Teaser List
  2. Basic Listing : a Table View

A fabulous example can be seen at:

http://www.productionhub.com/directory/listings.asp?section_id=7&cat_id=264

I've tried Views Fusion and Views Union to no avail.

So much would love to make this work and immensely appreciate any reply.

Lilian

Read more
5 comments Categories:

Views UI Thread the Second

Posted by merlinofchaos on January 24, 2008 at 10:59pm

Now that I've narrowed down a direction, this thread is for commentary. Rules:

We're going with vertical tabs.

We're going with the summary above, edit area below.

There are only two actual steps for creation.

I'm already working on the implementation.

The WIKI is here: http://groups.drupal.org/node/8428 -- it may be edited to include things we know or like and wish to pursue. For speculative commentary, please put it in this thread.

Read more

Views 2 UI: summary of progress

Posted by alpritt on January 24, 2008 at 10:46pm
Last updated by merlinofchaos on Sun, 2008年03月16日 01:59

In order to get a birds eye view of the current state of the Views 2 user interface, the needs of the UI and the decisions made so far are summed up below.

(Please refer to http://groups.drupal.org/node/8429 for ongoing discussions. This is a wiki so please feel free to help keep this up-to-date with the latest progress, or fill in any details that have been missed so far. Please only post solid information here; conversation should go in the sister thread. Thanks.)

Latest ideas

The beginnings of the favourite idea so far:

http://humte.com/files/ViewsUI-summaries.png

Read more

Maintaining the breadcrumb trail in a view?

Posted by kirilius on January 24, 2008 at 6:06pm

Here is the situation:

I have a node type called Destination. I have created a view called Destination Pictures, which shows all pictures from a given destination.
Using the following code I have added this view as a new tab under the main Destination node type:

<?php
function dest_pics_menu($may_cache) {

$items = array();

if (arg(0) == 'node' && is_numeric(arg(1))) {
$node = node_load(arg(1));
if ($node->nid && $node->type=="destination") {
$items[]= array(
'path' => 'node/'. arg(1) .'/dest_pics',

Read more
2 comments Categories: ,

Issues with default views and exposing data

Posted by nedjo on January 23, 2008 at 11:46pm

I've been wrestling a bit with how to create default views without exposing potentially sensitive data. What are others thinking about this issue?

The Views module includes support for "default" views implemented through a hook, hook_views_default_views(). A quick search through the contributions repository shows close to 60 modules implementing this hook.

Read more
3 comments Categories:

Lenses (selecting a subset of fields from a node)

Posted by David_Rothstein on January 22, 2008 at 5:32am

I'm working on an idea for a new module and was wondering if anyone had any feedback. It may overlap a bit with existing modules (especially Views), but I think it's different and potentially interesting.

Basically, the idea is this: Sometimes, when viewing/editing/creating a particular type of content, you might want to do so through a "lens" that only shows you a subset of fields that you are interested in at that particular time. You only want to deal with those particular fields, without having to deal with the node as a whole (which may be very large and complex).

Read more

Bounty: Code snippet to organise view alphabetically

Posted by blogjunkie on January 10, 2008 at 10:05am

Hi Views Developers,

I admit that I joined this group just to post this bounty, but I would really appreciate your help.

I'm trying to create a view that outputs nodes like this - http://www.lawteacher.net/contractlawcases.php

I'm currently building a similar case law library. I've created a Case Law content type and given it a taxonomy with terms like Contract Law, Criminal Law etc.

Read more
1 attachment Categories: ,

New view type: Image Gallery

Posted by joachim on January 7, 2008 at 11:13am

You might be interested to know about a new view type that's now included in the image module: an image gallery view for image nodes.

This is in the latest 5.x-2.x-dev release of image. Existing galleries and blocks are reimplemented as views.

Read more
6 comments Categories: , ,

Making use of Views Arguments - What do you do?

Posted by kyl191 on December 28, 2007 at 2:48pm

Hi,
I'm taking part in the GHOP Contest (http://drupal.org/node/195913) and as part of my task (Improve documentation on arguments: http://drupal.org/node/201529) I need to find some sample uses of arguments in Views.

So, I'm appealing to the Drupal Community to post your innovative and interesting uses of arguments in views - from the simple to the complex, anything goes!

Thanks for your help!

Read more
2 comments Categories:

How to add context-dependent content to the view's output?

Posted by kirilius on December 20, 2007 at 9:56pm

I have a view that displays (let's say) a grid (gallery) of pictures related to a given node X. This view has a parameter that's passed through the URL: http://mysite/node/$arg1/pictures. It works fine but I would like to be able to make a few changes to the output:

1) Change the title so that it says something like "Node X pictures", where Node X is the title of the node with ID that's passed through the parameter $arg1.

2) Add a link at the somewhere on the page that says "Start a slideshow". I have the slideshow view ready. Let's say it's URL is http://mysite/node/$arg1/slideshow

Read more

How to turn a view into tab for a specific node type only?

Posted by kirilius on December 18, 2007 at 8:39pm

Hello,

I have a view and the goal is to turn it into a tab that shows only for a specific node type. Here is what I do:

I have a page view called for e.g. x_pictures that is supposed to display all the pictures associated with a given node of type X. The URL I have given to it is node/$arg/pictures
In the "Menu" section of the page definition I have the following settings:

Provide Menu - checked
Provide Menu as Tab - checked
Make Default Menu Tab - NOT checked
Parent Menu Item Type - Already exists (don't create)

Read more
23 comments Categories: ,

Views in the context of a node

Posted by kirilius on December 14, 2007 at 8:18pm

Hi there,

I posted this question in the main Drupal forum but maybe this group is the right place for it.

Here is the situation:

I have a view defined that shows some information relevant/dependent on the context of a node. In my case I am using the view to show some related nodes to the main one.
Let's say the URL is http://mysite/views/show_more_data/[nid]
There is one parameter that is the node ID of the node we want to display more info about. This view works fine when called through the URL (a page view).

Read more
4 comments Categories: ,

Adding or theming argument defaults

Posted by joachim on November 25, 2007 at 5:39pm

Is there a way to add a new type of default view for an argument, beyond the built-in 'Return Page Not Found', 'Display All Values', etc?
Or failing that, can it be drastically themed to return something different, from the definition of a new argument type in a module?

I'm trying to replicate the galleries made by image_gallery.module as a view, and I need to show a list of top-level galleries for the URL with no arguments.

Read more
Categories: , ,

New Bonus View type

Posted by dwees on November 25, 2007 at 4:32am

Hi there,

I've been playing around with the theming functions of Views and I constructed a very simple theme for a View. I call it: Flash XML Viewer.

Basically what you do is construct a regular block view and choose 'Flash: XML Viewer' from the type select. Then you define your filters and sorting order (fields and arguments will not be used for this view). Not sure if exposed filters will work, haven't tested, just built this module this morning.

Read more
6 comments Categories:

Views 2: Call for help

Posted by dmitrig01 on November 19, 2007 at 1:23am

Views 2 is currently being updated for Drupal 6 compatibility, but it needs major help in order to be ready for the Drupal 6's approximate release date! We're short on people and short on time, so here's the bottom line. Without your assistance and contributions, there will be no Views for Drupal 6 within any useful timeframe. If we don't have Views 2 ready for the D6 release date, the vast majority of casual users might not even bother to download and try Drupal 6. That would be bad, so you need to get involved in helping to complete Views 2 so this scenario doesn't happen!

Read more
22 comments Categories:

Adding a "number of posts" field to a view of usernodes

Posted by katbailey on November 8, 2007 at 1:16am

Hi there,
I'm very new to module development and I've been asked to create a module that extends the Buddylist module using Views to create a 'Buddy Gallery'. So far so good. The trouble is, one of the fields that needs to show up for each Buddy is the number of posts they have made. I thought I could use CCK Computed Field for this but this only seems to get updated when the usernode is re-saved.

Read more

views links as images?

Posted by keesee on November 6, 2007 at 9:45pm

Hello,

I have a quick question regarding php and how views links are built. Here is the edit link code below. (views/modules/views_node.inc) How would I insert an image instead to say /modules/views images/edit.png? I'd love to add it as an option but it would conflict with the ability to enter the text you see on the front end. If someone would give me some assistance, I'd love to apply it where ever possible - view, comment, delete, edit etc... and contribute it back. I am new to php and eager to learn.

Read more

Complex queries and views

Posted by mlncn on November 5, 2007 at 9:04pm

The use case: I have Organic Groups which are associated with a vocabulary, and I want to list various content types associated with organic groups that are associated with a taxonomy term.

I ask the question here because it could be the entrance for some people (like myself) to actual views development.

Read more
9 comments Categories: ,

Huge views query killed the server

Posted by z.stolar on November 1, 2007 at 8:08am

Hello all,

I'm using the Taxonomy: term ID argument as a view argument, and I'm passing to it a list of about 20 term IDs (it changes from page to page).
The result is a huge query that chokes the MySQL server, and drops the site down. The query is pasted further down this mail.
After manually changing the query to use IN(tid, tid2, tid3...), and getting rid of many LEFT JOINS, the query ran without any problem, and quite fast.

I'd appreciate pointers to issues regarding this problem, if you know of any...

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