aggregator-summary-items.tpl.php

Default theme implementation to present feeds as list items.

Each iteration generates a single feed source or category.

Available variables:

  • $title: Title of the feed or category.
  • $summary_list: Unordered list of linked feed items generated through theme_item_list().
  • $source_url: URL to the local source or category.

See also

template_preprocess()

template_preprocess_aggregator_summary_items()

2 theme calls to aggregator-summary-items.tpl.php
aggregator_page_categories in modules/aggregator/aggregator.pages.inc
Page callback: Displays all the categories used by the Aggregator module.
aggregator_page_sources in modules/aggregator/aggregator.pages.inc
Page callback: Displays all the feeds used by the aggregator.

File

modules/aggregator/aggregator-summary-items.tpl.php

View source
<?php


/**
 * @file
 * Default theme implementation to present feeds as list items.
 *
 * Each iteration generates a single feed source or category.
 *
 * Available variables:
 * - $title: Title of the feed or category.
 * - $summary_list: Unordered list of linked feed items generated through
 *   theme_item_list().
 * - $source_url: URL to the local source or category.
 *
 * @see template_preprocess()
 * @see template_preprocess_aggregator_summary_items()
 *
 * @ingroup themeable
 */
?>
<h3><?php

print $title;
?></h3>
<?php

print $summary_list;
?>
<div class="links">
  <a href="<?php

print $source_url;
?>"><?php

print t('More');
?></a>
</div>

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.