In order for views to deal with data in custom tables, you need to provide support for it by writing special hooks into your module.  If you want to learn to do this there’s a link to the api documentation on the views project page.

 

If you want to do just do displays/reporting against raw tables in your site, you could also check out the forena project.   It’s not as polished as views for rolling stuff out to end users, but is pretty good for developers familiar with writing sql.


Dave  

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Alex Adams
Sent: Friday, June 24, 2011 2:19 PM
To: support@drupal.org
Subject: [support] Module created tables in Views?

 

Can Views handle tables in the default database that are created and used by modules?

I’ve just tried to create a View to do just that, but nothing appears that’s not a custom field to be used by a node type.

Am I going to have to do this in the module?

Drupal 7 by the way.

Thanks in advance,
--
Alex Adams

hawkVision — building highly agile worlds of knowledge
A2 Technology Partners, Inc.
831-724-1397
alex@a2technology.com
www.a2technology.com