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

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

This example Drupal source code file (image-view-image-gallery.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-nodes, item-list, php, row, rows, title

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

<?php
// $Id: image-view-image-gallery.tpl.php,v 1.2.2.1 2010/08/03 17:43:00 sun Exp $


/**
 * @file
 * Template for a list of gallery nodes.
 *
 * - $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-nodes clear-block">
  <?php if (!empty($title)): ?>
    <h3><?php print $title; ?></h3>
  <?php endif; ?>
  <<?php print $options['type']; ?> class="images">
    <?php foreach ($rows as $id => $row): ?>
      <li class="<?php print $classes[$id]; ?>"><?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-view-image-gallery.tpl.php source code file:

new blog posts


 


"Drupal" is a registered trademark of Dries Buytaert.

our drupal tutorials and examples  
 
Sponsored by:
Mat-Su Valley Programming (Wasilla and Palmer, Alaska)

Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.