Friends,
I have been hacking at the flexinode module for a day and a half, and cannot seem to find a solution for what I need. I blame my sql ignorance. Anyway, I'm hoping that at least one of you has a suggestion how to overcome the limitation of only being able to list one flexinode-type at a time through the tabular (/flexinode/table/x) display. I need to link two flexinode-types together (I'm using relativity to link) and display their (combined) fields into the flexinode table display. The solution is most likely going to be pretty hard-coded, but should be something that can help out others in some of their future projects. Using 4.6.5.
The flexinode types and desired display
Gage: Title (not really using right now), Manufacturer (this is a taxonomy term), Series, Description
Cable: Title, Image1, Image2, Image3
Tablular display: Manufacturer | Series | Description | Cable.title | Image1 | Image2 | Image3
Where I've got
I've felt pretty close to getting it right, but now I'm tired and I'm not sure anymore. In theory, it seems like if we could run the core flexinode queries for each node-type (Gage and cable - 5 and 6, respectively), and then join them (can you join query result sets?) based on the corresponding link that relativity creates, we'd have it. I've tried to figure out a way to set a loop in the module to do that, but I just get confused. I can get much closer in phpMyAdmin, but then it's not quite the same to make it happen in the php.