Full ELMS Learning Network documentation
views-data-export-txt-body.tpl.php
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).- cis7 sites/all/modules/local_contrib/views_data_export/theme/views-data-export-txt-body.tpl.php
- mooc7 sites/all/modules/local_contrib/views_data_export/theme/views-data-export-txt-body.tpl.php
views-view-table.tpl.php Template to display a view as a table.
- $title : The title of this group of rows. May be empty.
- $rows: An array of row items. Each row is an array of content keyed by field ID.
- $header: an array of haeaders(labels) for fields.
- $themed_rows: a array of rows with themed fields.
1 string reference to the theme hook from views-data-export-txt-body.tpl.php
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- views_data_export_views_plugins in sites/
all/ modules/ local_contrib/ views_data_export/ views_data_export.views.inc - Implementation of hook_views_plugins().
File
sites/all/modules/local_contrib/views_data_export/theme/views-data-export-txt-body.tpl.phpView source
- <?php
- /**
- * @file views-view-table.tpl.php
- * Template to display a view as a table.
- *
- * - $title : The title of this group of rows. May be empty.
- * - $rows: An array of row items. Each row is an array of content
- * keyed by field ID.
- * - $header: an array of haeaders(labels) for fields.
- * - $themed_rows: a array of rows with themed fields.
- * @ingroup views_templates
- */
-
- foreach ($themed_rows as $count => $row):
- foreach ($row as $field => $content):
- ?>
- [<?php print $header[$field]; ?>]
-
- <?php print strip_tags($content); // strip html so its plain txt. ?>
-
- <?php endforeach; ?>
- ----------------------------------------
-
- <?php endforeach;