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.
Look at some example files. Comment module is a good example - views/modules/comment.
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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.