Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mathieu CreditAttribution: mathieu commentedHave a look at http://www.archive.org/details/DrupalconDc2009-MigrationNotJustForTheBirds .. that's a good start!
Comment #2
kevinquillen CreditAttribution: kevinquillen commentedHm 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?
Comment #3
mikeryanIf 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...
Comment #4
kevinquillen CreditAttribution: kevinquillen commentedYeah... basically rearranging the appearance of an image gallery using the basic module(s) with views, without using something huge like Gallery2 and the like.
Comment #5
attheshow CreditAttribution: attheshow commentedSubscribing. I'm particularly interested in the feature that Mike pointed out in comment #3 ...relating to the node table.
Comment #6
milos.kroulik CreditAttribution: milos.kroulik commentedSubscribing. I think, this should be priority for this module, since it enables many new possibilities.
Comment #7
mikeryanDone! Tables which have existing views definitions (such as node) can be added to Table Wizard, analyzed, and added to relationships.
Comment #9
guybedford CreditAttribution: guybedford commentedThis 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.