Views Integration Description:
Tripal Views provides an interface for integrating Drupal Views
with Chado tables, custom tables and materialized views. This allows site
administrators to create custom pages
and forms for tables in the Chado schema (if Chado was installed by Tripal).
All tables in Chado are integrated
automatically with Drupal Views but custom tables and materialized views are
not. After creating a new materialized
view or custom table you can follow the links above to integrate the table
with Drupal Views. The interface allows
you to specify which fields the table can be joined with other tables and
also specify field, sort and filter
handlers for views. Different handlers provide different functionality.
Setup Instructions:
After installation of the Tripal core module. The following tasks should be
performed
- Set Permissions: To allow access to site administrators for this
module, simply
to the
appropriate user roles for the
permission type "manage tripal_views_integration".
Usage Instructions:
To use Tripal Views integration follow these steps:
- Identify or create a materialized view or custom table: Using
the
identify the view you would like to integrate or create a new one. Or,
using
the
- Integration a new table: Navigate to
the
to integrate the new table. Provide a user friendly name
and description to help you remember the purpose for integrating the
view. Next, select the table you want to integrate
from the provided select box. If your table has fields that can join
with other Chado tables, you may
provide those relationships in the provided form. Finally, if your
fields require a special handlers, you
may select them from the drop downs provided
- Alter an existing integration: If a table is already integrated
you can alter its integration configuration by navigating
to
the
, select the table from the list and alter it accordingly.
You can create new integration configurations for tables that are
already integrated by lowering the priority setting. The configuration
setting
with the lowest priority will be selected.
- Create custom pages/block/search form: After saving conifguration
settings from either step above, you can navigate to the
Drupal Views interface where you can create a custom page, block or
search form.
- Review your integrated views: A page providing a
is provided. You may
view this page to see all integrated views, but also to remove any
unwanted integrations.