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