hook_views_data allows you to connect external databases to Views.

learn more… | top users | synonyms

0
votes
1answer
19 views

Using select list with Views exposed filter when it is a custom schema through hook_views_data

I need to build a page in Panels that is composed of Views displays. The page that this will make will function as a kind of workstation for a staff member displaying bespoke information about ...
0
votes
1answer
37 views

Calendar display with custom table

I am trying to show a calendar page with records stored in a custom table, using the Calendar module. The table has been integrated with Views using hook_views_data. I also implemented ...
4
votes
1answer
150 views

Unknown column errors because of table alias

Because of truncated identifiers with more than 63 chars, causing Views to break It causes errors like SQLSTATE[42S22]: Column not found: 1054 Unknown column ...
0
votes
1answer
84 views

Help me with hook_views_data

I create a simple module to test hook_views_data but may I get some errors this is my code in tungcan.module file <?php function test_views_api() { return array( 'api' => '3' ...
2
votes
2answers
100 views

hook_views_data and DECIMAL columns

I have an external database that I am wiring into views with hook_views_data(). This particular database is making use of DECIMAL data type. What are the proper field, filter, etc, handlers to use ...
14
votes
5answers
14k views

How do I display an external database data?

UPDATE: Jedihe was kind enough to put a video of how to do this: blip.tv/file/5151641 I'm trying to do something that I thought was simple, but I am having a lot of problems figuring out how to do ...