home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (image-gallery-view-image-gallery-terms.tpl.php)

This example Drupal source code file (image-gallery-view-image-gallery-terms.tpl.php) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

as, class, clear-block, div, endforeach, endif, foreach, id, image-gallery-terms, item-list, php, row, rows, title

The image-gallery-view-image-gallery-terms.tpl.php Drupal example source code

<?php
// $Id: image-gallery-view-image-gallery-terms.tpl.php,v 1.1 2009/08/27 12:10:57 joachim Exp $
/**
 * @file
 * Template for a list of gallery terms.
 *
 * - $title : The title of this group of rows.  May be empty.
 * - $options['type'] will either be ul or ol.
 * @ingroup views_templates
 */
?>
<div class="item-list image-gallery-terms clear-block">
  <?php if (!empty($title)) : ?>
    <h3><?php print $title; ?></h3>
  <?php endif; ?>
  <<?php print $options['type']; ?> class="galleries">
    <?php foreach ($rows as $id => $row): ?>
      <li class="<?php print $classes[$id]; ?> clear-block"><?php print $row; ?></li>
    <?php endforeach; ?>
  </<?php print $options['type']; ?>>
</div>

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal image-gallery-view-image-gallery-terms.tpl.php source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.