Views 2

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
shushu's picture

"Advanced Search" fieldset inside exposed filter

I was looking for a simple way to filter a view, and on the other hand allow more advanced filtering.
I didn't want fancy javascript games, nor to split between the views (simple vs. advanced).

My solution combined naming the exposed filters with a given prefix, splitting the widgets into two arrays in the preprocess function, and changing the theme of the exposed view by putting the advanced widgets in a fieldset.

Read more
Annakan's picture

Cascaded queries, dependent views, passing context around from view to view, ...

Hello all, and thanks for the great view module, especially to merlinofchaos.

I did some research and did not find a thing even remotely connected to this so I'll try to explain the problem and the few solutions I have in mind, hoping the experts here will be able to guide me toward means to realize them or advice me. Or plug my nose on a "fucking manual 'RTFM' way".
I thought this http://drupaleasy.com/blogs/ryanprice/2008/06/using-views-2-drupal-6-cre... and this thread http://groups.drupal.org/node/37414 could be related but I think my case is more general. Slap me if I am wrong. ;)

The problem :

Let's imagine we have a newspaper-like publication.
You have a top story, on top of the page, and then fixed topics (about cats, dogs, new news, old stories, whatever).
Every story is "tagged" in taxonomy, and can belong to several ones...
Of course, on the front page you want :
- the most recent story in the top story panel
- the most recent story in every topic in the fixed panel dedicated to that topic, but one that is NOT the top story and NOT already a frontage story for another topic (not already the most recent story for a "previously rendered" topic that is not the "top story")

Said more simply : a "story" should appear once and only once on the frontpage being as the top story or the featured story in a topic.

Read more
lisarex's picture

Topic for Tues: Issue with Views, Location, node_reference, and filtering on terms for a related node

Overview

I'm rebuilding the site in Drupal, with the very awesome assistance of himerus (Jake Strawn). There's a very complicated View to build and we could really use some input on how to make this happen. We will be there on Tuesday night for the Boston meet up. I've also cross-posted this to my blog as well, so there may be other comments there: http://www.lisarex.com/2009/10/views-related-node/

There are two content types, Restaurant and Soup (a restaurant can have more than one soup).

Client requirement:
1. The site visitor will click their state/province.

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
SocialNicheGuru's picture

Bounty to fix exposed filter block in panel3 pages and organic group tabs for D6

I would like to see exposed filter block in panels pages using Views2 get fixed for Drupal 6.

I am willing to chip in to make it happen. ($75). If there is a developer who could do this and possibly use chipin to gather more support.

Currently exposed filter block works if
1. no panels
2. no views as tabs in organic group

but I would like to have it work in those two areas

  1. as tabs in an organic group
  2. with panels

So in essence, they should redirect to the correct page.

  1. exposed filter block in a view with path url node/%/foo and it is a tab

Create a view

Read more
stevepofd's picture

creating a custom module to override the default exposed filter widget type?

Hello,
I'll start with the good ol' i'm new to drupal and creating custom modules spiel...
(btw, im using the most current versions of drupal and views)
What i need/have been trying to do is create a filter for a view that uses select dropdowns based on values that are collected from a cck text field.
(for example: a user adds a new node, there is a field called type and the user can enter whatever he wants. when the form is submitted, and he goes back to the list view, his entry in the type field now shows up in a select dropdown along with all of the other options that other users added. now he can filter the view with his own type entry.)

Read more
pontus_nilsson's picture

Views och hierarkiska taxonomier (taxonomy_term view)

Hej,
Jag bråkar lite med taxonomy och views men har fastnat lite med argumenten.

Jag har aktiverat vyn taxonomy_term, som är en standardvy, för att ersätta taxonomi term-sidor.
Jag har en vokabulär, Märken, som är uppbyggd på detta sätt:

Märken
--Tillverkare 1
------Produkttyp 1
------Produkttyp 2
--Tillverkare 2
------Produkttyp 1

Varje produkttyp har noder kopplade till sig. Tillverkare har inga noder kopplade till sig direkt utan är bara "pappa" till produkttyp.

Read more
spyderboy's picture

Multi Views, Multi Pagers

Hi there... I am flummoxed by a Multi Views Multi Pagers (one view embedded in the other) problem (Views 2, Drupal 6):

I am working on a magazine site. We have Issues, and Issues have Articles. I have created a view that lists Articles based on the related Issue (one at a time, with a pager). I have created another View that lists Issue's Covers (one at a time, with a pager), and used a .tpl file to embed the list_articles view.

Read more
IceCreamYou's picture

Help me write Views 2 Integration - Facebook-style Statuses

Hello everyone. I am the author of the Facebook-style Statuses module, and I have recently completed writing the reorganized 2.x branch (now in CVS/dev). The API should be clearer now and there are a few cool new features. In the next week or so I'm going to add/update two of the three remaining features: Advanced Forum integration and AHAH-driven status submission.

However, the one thing that I don't have any idea how to do is Views 2 integration. I've gone through the documentation and tried working through it before without success. So I would really appreciate it if someone who was knowledgeable in this area could guide me along with my foray into Views--whether that means reviewing integration that I write that doesn't work or actually writing the integration for the module yourself. I consider this an essential feature of the 2.x branch since it means not just integration with Views but also with FriendList and Flag Friend, so I will do it completely by myself at some point if no one steps up to help, but it would save me untold time and pain if someone could offer a little guidance in this area. And of course you'd have my perpetual gratitude.

Read more
aaron's picture

Sneak Peek of Views 2 at Drupal Newsletter

I just wrote up a sneak peek of Views 2 for the February Drupal Newsletter, which is to be published next week. I'd love some feedback from people in the know before going forward with it. I think the work being done is incredible. The wiki is at http://groups.drupal.org/node/8258 (you have to subscribe to the Drupal Newsletter group to see it).

Read more
Subscribe with RSS Syndicate content