views-view-grid.tpl.php

  1. cis7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  2. cis7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  3. cle7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  4. cle7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  5. ecd7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  6. ecd7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  7. elmsmedia7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  8. elmsmedia7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  9. harmony7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  10. harmony7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  11. icor7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  12. icor7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  13. meedjum_blog7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php
  14. meedjum_blog7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  15. mooc7 sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
  16. mooc7 sites/all/themes/ulmus/tao/templates/views-view-grid.tpl.php

Default simple view template to display a rows in a grid.

  • $rows contains a nested array of rows. Each row contains an array of columns.
1 string reference to the theme hook from views-view-grid.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_views_plugins in sites/all/modules/ulmus/views/includes/plugins.inc
Implements hook_views_plugins().

File

sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default simple view template to display a rows in a grid.
  5. *
  6. * - $rows contains a nested array of rows. Each row contains an array of
  7. * columns.
  8. *
  9. * @ingroup views_templates
  10. */
  11. ?>
  12. <?php if (!empty($title)) : ?>
  13. <h3><?php print $title; ?></h3>
  14. <?php endif; ?>
  15. <table class="<?php print $class; ?>"<?php print $attributes; ?>>
  16. <?php if (!empty($caption)) : ?>
  17. <caption><?php print $caption; ?></caption>
  18. <?php endif; ?>
  19. <tbody>
  20. <?php foreach ($rows as $row_number => $columns): ?>
  21. <tr <?php if ($row_classes[$row_number]) { print 'class="' . $row_classes[$row_number] .'"'; } ?>>
  22. <?php foreach ($columns as $column_number => $item): ?>
  23. <td <?php if ($column_classes[$row_number][$column_number]) { print 'class="' . $column_classes[$row_number][$column_number] .'"'; } ?>>
  24. <?php print $item; ?>
  25. </td>
  26. <?php endforeach; ?>
  27. </tr>
  28. <?php endforeach; ?>
  29. </tbody>
  30. </table>

Related topics