Can someone give me a quick rundown on how to use this module?

For instance, I want to use Views2 to display an Image Gallery (from that module), and do Row Style: Fields, so I can put the title below the image, and have sorting options available through CCK.

I've added a few tables into the wizard, where would I go from here to expose these new fields in Views2?

Comments

mathieu’s picture

kevinquillen’s picture

Hm I guess I was a little vague in my initial post. I can't watch this at work now but will later.

I am using the following modules:

Image
Image Gallery
Taxonomy
Views2

It seems to be known that there is no current integration between Views2 and the other 3 modules for displaying an Image Gallery (unless you use Row Style: Node). What I want to do is use Row Style: Field, and define what fields should show and what order they appear, so I can do custom things like have the node title below the image, or perhaps the upload date, and a sort order field.

Table Wizard seems to do what I need it to do, but if I add content_type_image and/or image into the wizard, how do I also join on the node table so it grabs the title and correct nid?

mikeryan’s picture

Title: How to use? » Allow relationships to other views-enabled tables
Component: User interface » Code
Assigned: Unassigned » mikeryan
Category: support » feature

If the tables you added have single-field primary keys, then when you click on their titles in the table wizard list you should see a view, and you can create a new view with that table as the base.

Now, as for linking with nodes - that is not supported at this time. Is this your primary question? I'm going to assume that it's the main issue you're facing and turn this into a feature request - at the moment, there's no way to define relationships between Table Wizard-managed tables and tables integrated with Views by other modules (such as the node table). Supporting that will take some work...

kevinquillen’s picture

Yeah... basically rearranging the appearance of an image gallery using the basic module(s) with views, without using something huge like Gallery2 and the like.

attheshow’s picture

Subscribing. I'm particularly interested in the feature that Mike pointed out in comment #3 ...relating to the node table.

milos.kroulik’s picture

Subscribing. I think, this should be priority for this module, since it enables many new possibilities.

mikeryan’s picture

Status: Active » Fixed

Done! Tables which have existing views definitions (such as node) can be added to Table Wizard, analyzed, and added to relationships.

Status: Fixed » Closed (fixed)

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

guybedford’s picture

This is an awesome feature. I just added the node table to Table Wizard and linked it into the nid field on my custom table and I can load the node content using the custom table as a base table now!

It would be great if there was access to the cck fields when doing this though - at the moment I'm getting all the node fields fine, but the cck fields aren't coming out.

Would really take this module to another level in terms of allowing views customisation through Drupal.