I've decided to take on the task of integrating uc_attribute with Views. My eventual goal is to have a dynamic stock chart that allows the customer to limit their view to products with certain attributes, and to show only those products that are in stock (using the Hierarchical Select module).
I'm pretty new to Drupal, so I've put this together largely by looking at the Taxonomy Views integration and adopting some of its methods. The integration has been going well, but somehow in the process I made a revision that has caused my table joins to stop working. If I expose an Attribute Combination filter, the form and options show up as expected, but when I submit the filter, my query fails because the table join is not part of the query.
The attached include is far from feature complete. However, I'm at my wits end trying to figure out why my table joins don't work, and I'd really appreciate it if someone with Views experience could take a look at this and tell me what I'm doing wrong on that front.
Additionally, if anyone has ideas or suggestions for how to implement some of the more advanced integration features, I'd be more than happy to hear them! This seems like something that a lot of people other than myself could find handy.
| Attachment | Size |
|---|---|
| views_uc_attribute.inc_.txt | 7.65 KB |




Joined: 03/02/2008