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?

Comments

toddy’s picture

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?

friolator’s picture

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!

minesh’s picture

It would be nice if i can access location name, temp, wind eta from drupal views. I can then make views for my needs and a matching layout too. e.g I can then have a more detailed page and view block that can show very basic information.

waverate’s picture

Yes; this module could be very good if it is able to display its results through views. This way tables or blocks could be built to display name, temp, wind, etc in addition to the functionality that already exists in this module.

szy’s picture

Definitely useful idea :]

So +1! ;]

Szy.

msankhala’s picture

Title: Views Integration? » Views Integration? [I developed a weather_views module]
Version: 6.x-5.6 » 7.x-1.8
Issue tags: +weather, +weather_views

I developed a weather views module for Drupal 7. Please have a look. Currently its a sandbox project.
https://drupal.org/sandbox/msankhala/2102307

szy’s picture

Title: Views Integration? [I developed a weather_views module] » Views Integration?
Version: 7.x-1.8 » 6.x-5.x-dev

Do not hijack this issue. Post your own instead.

Szy.

msankhala’s picture

There was no intention to hijack this issue. I'll convert that module in D6 also as i get time.

toddy’s picture

Version: 6.x-5.x-dev » 7.x-2.2
Component: Documentation » Code
Assigned: Unassigned » toddy
Status: Active » Fixed

Hi,

starting with weather 7.x-2.2, the module can be used with views.

Regards,
Tobias

Status: Fixed » Closed (fixed)
Issue tags: -weather, -weather_views

Automatically closed -- issue fixed for 2 weeks with no activity.