- Issue created by @Michael Parry
- 🇨🇳China challeypeng
me too.
It can only display the tables in the Drupal system. I hope someone can improve it too. - 🇨🇦Canada joseph.olstad
You might want to try version 2.0.6
also, it's good to read the README.md
https://git.drupalcode.org/project/view_custom_table/-/blob/2.0.x/README.md
VIEWS CUSTOM TABLE
CONTENTS OF THIS FILE
- Introduction
- Requirements
- Installation
- Configuration
INTRODUCTION
The Views Custom Table module gives the functionality to integrate your custom
table to views. So you can use strong features of the views for your custom
table. This module use hook_view_data() to implement functionality.For a full description of the module, visit the project page:
https://www.drupal.org/project/view_custom_table →To submit bug reports and feature suggestions, or to track changes:
https://www.drupal.org/project/issues/view_custom_table →REQUIREMENTS
This module requires the following modules:
Views (Drupal Core)
Views UI (Drupal Core)INSTALLATION
Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/docs/extending-drupal/installing-modules →
for further information.CONFIGURATION
Configure user permissions in Administration » People » Permissions:
Add custom table in views
- Give user access to add his custom table to the system.
Administer all custom table in views
- Give user access to administer all the custom tables, added by all the users
Administer own custom table in views
- Give user access to administer own custom tables
Manage custom tables in Administration » Structure » Views » View CustomTable menu.
Alternately, there's instructions on the project page: →
How to use:
- Download and extract files in module folder.
- Enable module from module list
- Go to Home » Administration » Structure » Views » View Custom Table
- Add your custom table in system using "Add Custom Table" link
- Add Relationship with drupal entities if any, otherwise leave none.
- Clear drupal cache
- Add a new view and you will see your custom table name in "Show" drop-down field.