Views Integration?
friolator - September 25, 2009 - 21:07
| Project: | Weather |
| Version: | 6.x-5.6 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
We would love to be able to include weather data inside of Views. Most of our content is views-based, and this module would be significantly more useful to us if we could pull in the data inside of a view, rather than as a block. Any chance of this happening? please?

#1
I don't know what you mean exactly. How would you like to have the weather data integrated in Views? Could you provide a specific use-case?
#2
sure. There are a few I can think of:
In general, we don't really use Drupal blocks, we do our layouts in Panels, displaying Views. This is how we're handling everything from forums to groups to product pages and reviews to user profiles. Views gives us the flexibility to build very customized bits of content that are specific to sections of the site in ways one can't do with blocks.
For example:
With weather, the location is tied to the node's location. But there are situations where we want to show the weather for an alternate location. Our site allows users to associate themselves with a location that's not their own home location. We want to be able to show the current weather for that alternate location on the user's Content Profile page. With Views, I can imagine setting up a simple relationship to pull in the weather for a node that isn't the user's profile node.
On our site, users can contribute reports of places they've been, and in one report, they might go to three or four different locations. We'd like to be able to display the current weather for those locations, inside of their report, and with Views that would be relatively easy to set up.
Lastly, there are situations where we might want a full report, and others where we might only want to display the temperature. Having all of those items available as separate views fields would give us the flexibility to stick weather data where ever it makes sense, rather than the current setup, which ties the weather to a specific node.
Hopefully that all made sense. I can't really get into the details of our site in a public forum, so it's a little hard to get really specific.
thanks!