[support] Accessing non-drupal tables with Views?
Gregg Marshall
mimlist at repconnection.com
Sun Oct 23 03:00:49 UTC 2011
There is documentation for views 3 (sort of) in the advanced help. But if
you don't want to implement that module there's a copy on line, the page you
are looking for is at http://views-help.doc.logrus.com/help/views/api-tables
which helped but is a bit confusing (and possibly not complete), but when
supplemented by this issue, http://drupal.org/node/370013, especially the
PATCH in it, I was able to get something working using hook_views_data.
Gregg
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Metzler, David
Sent: Friday, October 21, 2011 5:04 PM
To: support at drupal.org
Subject: Re: [support] Accessing non-drupal tables with Views?
You would have to write a views integration module to do this (expose the
data) to your module. Normally I'd point you to the views 3 api
documentation, but that doesn't appear to have been written yet. If you're
interested in this approach you might try filing a support request asking
how different the views 3 api is from the views 2 api which is documented.
You might also take a look at project forena, which is written as a more
general report writing engine.
FULL DISCLOSURE:
I'm the maintainer of the forena module.
_____
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Wipe_Out
Sent: Friday, October 21, 2011 3:33 PM
To: support at drupal.org
Subject: [support] Accessing non-drupal tables with Views?
Hi,
I have a Drupal7 site that shares a database with another application.. I
would like to use views to publish data from the applications tables to
users..
Anyone have any ideas how to do this??
I have searched the internet but not found anything.. Certainly nothing for
D7..
TIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111022/2ab97a99/attachment.html
More information about the support
mailing list