aggregator-summary-items.tpl.php

  1. 7.x drupal-7.x/modules/aggregator/aggregator-summary-items.tpl.php
  2. 6.x drupal-6.x/modules/aggregator/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 drupal-7.x/modules/aggregator/aggregator.pages.inc
Page callback: Displays all the categories used by the Aggregator module.
aggregator_page_sources in drupal-7.x/modules/aggregator/aggregator.pages.inc
Page callback: Displays all the feeds used by the aggregator.

File

drupal-7.x/modules/aggregator/aggregator-summary-items.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to present feeds as list items.
  5. *
  6. * Each iteration generates a single feed source or category.
  7. *
  8. * Available variables:
  9. * - $title: Title of the feed or category.
  10. * - $summary_list: Unordered list of linked feed items generated through
  11. * theme_item_list().
  12. * - $source_url: URL to the local source or category.
  13. *
  14. * @see template_preprocess()
  15. * @see template_preprocess_aggregator_summary_items()
  16. *
  17. * @ingroup themeable
  18. */
  19. ?>
  20. <h3><?php print $title; ?></h3>
  21. <?php print $summary_list; ?>
  22. <div class="links">
  23. <a href="<?php print $source_url; ?>"><?php print t('More'); ?></a>
  24. </div>

Related topics