|
|
Drupal example source code file (views-view-summary.tpl.php)
The views-view-summary.tpl.php Drupal example source code<?php // $Id: views-view-summary.tpl.php,v 1.6.4.1 2010/03/16 23:12:31 merlinofchaos Exp $ /** * @file views-view-summary.tpl.php * Default simple view template to display a list of summary lines * * @ingroup views_templates */ ?> <div class="item-list"> <ul class="views-summary"> <?php foreach ($rows as $id => $row): ?> <li><a href="<?php print $row->url; ?>"<?php print !empty($classes[$id]) ? ' class="'. $classes[$id] .'"' : ''; ?>><?php print $row->link; ?></a> <?php if (!empty($options['count'])): ?> (<?php print $row->count?>) <?php endif; ?> </li> <?php endforeach; ?> </ul> </div> Other Drupal examples (source code examples)Here is a short list of links related to this Drupal views-view-summary.tpl.php source code file: |
"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.