By perloe on
Hey everyone,
I have created a module that creates a new table in the database. I would like to create a view that displays some of the content in this new table. Is there a way to write some code in my module that will enable Views to recognize the new table and allow me to create a view using some of the fields in this table? Thanks.
Comments
I just published something
I just published something to my blog that (hopefully) explains how you would do this:
http://www.stevekarsch.com/2008/11/30/scratching-itch-myweather-views-2
Here's part one of the series:
http://www.stevekarsch.com/2008/11/08/scratching-itch-building-myweather
hope that helps!
steve
thats great!!
was hoping to see such an article for ages!!
Thanks :)
Views 2.x documentation
Is included with the views 2.x modules. The answer to your question is explicitly answered at this link on your site (help/views/api-tables).
hackbloc.org : exploit code not people
Assuming:
You have the Advanced Help module enabled.
Thanks for Playing