Reputation: 493
I'm using the decisions module for drupal and it currently has no views integration. I'm looking for a way to use some simple filters based on this module in views. How do you integrated a module with views? All of the available documentation is extremely vague.
Upvotes: 1
Views: 2538
Reputation:
Adding a table and it's fields as sort, filter, arguments to drupal is surprisingly easy if you implement standard handlers.
Taking a quick pick at the code for the decisions module, the tables have nid which can be link to to views using a relationship to the node table.
Here is a good walk thru: http://views-help.doc.logrus.com/help/views/api-tables
Upvotes: 1
Reputation: 33275
You have 3 ways to learn about views:
Views is a complex piece of machinery and there is no easy way to learn how to use it. But with after some trial and error I'm sure you'll be able to get there.
Upvotes: 1
Reputation: 769
Look at some example files. Comment module is a good example - views/modules/comment.
Upvotes: 1