You are here

README.txt in Data 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 7 README.txt

Data module
===========

The Data module provides

* An API for dynamically allocating tables for single-row records
* An API for insert/update/delete operations
* Automatic views integration
* Together with CTools module: exportable configurations
* Together with schema module: schema inspection and fixing

Its companion Data UI provides

* UI to add new database tables
* UI to add or alter columns to existing tables managed by Data module
* Default views for tables managed by Data module

Use Data Search module if you would like to search one or more columns of your
data tables:

* Install Data Search
* Go to admin/content/data
* Edit table to be indexed
* Click on "Configure search" tab
* Check table columns to be indexed

Use Data Node module if you would like to relate nodes to data records:

* Install Data Node
* Go to admin/content/data
* Edit table to relate to nodes
* Click on "Relate to nodes" tab
* Pick a content type
* Pick which id in table will be related to a node id
* Optionally:
  * Use views field handler for adding/removing a data table record to
    a node.
  * Configure Data Node block to show up in sidebar for selecting an
    active node to add a data table record to.

Working with HTML Fields

If you are working with a feed that has one or more fields that contain markup
you can specify that those individual fields to be output with the HTML as
opposed to escaped when using views.

1. Navigate to admin/build/data
2. Select 'Edit' for the table that you are working with
3. Click on the 'Configure views' tab
4. Identify the field that contains HTML. For the 'Field handler' column, select
   the 'views_handler_field_data_markup'


Recommendations
===============

Check out Feeds for importing content into Data tables. A working example
thereof can be found in Managing News.

http://drupal.org/project/feeds
http://managingnews.com

File

README.txt
View source
  1. Data module
  2. ===========
  3. The Data module provides
  4. * An API for dynamically allocating tables for single-row records
  5. * An API for insert/update/delete operations
  6. * Automatic views integration
  7. * Together with CTools module: exportable configurations
  8. * Together with schema module: schema inspection and fixing
  9. Its companion Data UI provides
  10. * UI to add new database tables
  11. * UI to add or alter columns to existing tables managed by Data module
  12. * Default views for tables managed by Data module
  13. Use Data Search module if you would like to search one or more columns of your
  14. data tables:
  15. * Install Data Search
  16. * Go to admin/content/data
  17. * Edit table to be indexed
  18. * Click on "Configure search" tab
  19. * Check table columns to be indexed
  20. Use Data Node module if you would like to relate nodes to data records:
  21. * Install Data Node
  22. * Go to admin/content/data
  23. * Edit table to relate to nodes
  24. * Click on "Relate to nodes" tab
  25. * Pick a content type
  26. * Pick which id in table will be related to a node id
  27. * Optionally:
  28. * Use views field handler for adding/removing a data table record to
  29. a node.
  30. * Configure Data Node block to show up in sidebar for selecting an
  31. active node to add a data table record to.
  32. Working with HTML Fields
  33. If you are working with a feed that has one or more fields that contain markup
  34. you can specify that those individual fields to be output with the HTML as
  35. opposed to escaped when using views.
  36. 1. Navigate to admin/build/data
  37. 2. Select 'Edit' for the table that you are working with
  38. 3. Click on the 'Configure views' tab
  39. 4. Identify the field that contains HTML. For the 'Field handler' column, select
  40. the 'views_handler_field_data_markup'
  41. Recommendations
  42. ===============
  43. Check out Feeds for importing content into Data tables. A working example
  44. thereof can be found in Managing News.
  45. http://drupal.org/project/feeds
  46. http://managingnews.com