3 replies [Last post]
ifelloverboard's picture
Offline
Joined: 09/29/2008
Juice: 5
Was this information Helpful?

I looked around the site a bit and saw mostly old posts about uc_views, I love views and would love to see this integrated again. I'm running the latest version of everything right now, because... well, because I can. Anyway, I have still managed to hack something together with adding a couple duplicating fields such as price, link, imagefield, etc..

If there's any word about this or if you're just waiting for views to come out with its final release for 6, I understand, and just want a verdict on the situation. I'll post my site running ubercart once I hammer out this final issue that I posted a comment to over here...

http://www.ubercart.org/forum/development/6164/processing_test_cc_paymen...

As always, thanks for the module(s)

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: uc_views and Drupal 6

uc_views was folded into uc_product.module some time ago. When uc_product was ported to Drupal 6, Views 2 seemed nowhere near ready at the time, so Views integration was lost. However, once the first beta release of Views 2 came out, I redid the integration code and put it in uc_product.views.inc. This file should be included in the CVS and Bazaar repositories set up for UC 6.x-2.x-dev. I've heard some reports that it's not completely working, but I'm sure that will be dealt with soon.

mrfelton's picture
Offline
Joined: 10/03/2008
Juice: 31
Re: Re: uc_views and Drupal 6

I had a stab at fixing this and it seems to be working pretty nicely.

This patch is written against the latest Ubercart 6.x-2.x-dev (2008-Sep-23) and latest Views (6.x-2.0-rc4)

Two things I missed:
The field which references field_image_cache_fid (not sure what that is) in the default view

And I haven't touched the fields which require the editablefields module, since this is unavailable for D6, so some fields may still not be available.

Please test Smiling

AttachmentSize
uc_product_views.patch 30.53 KB

Tom Kirkpatrick - kirkdesigns.co.uk

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: uc_views and Drupal 6

http://drupal.org/node/317243

This is a call for people to review the second patch (not the one here, either). Thanks.