aggregator-summary-items.tpl.php

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

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

AggregatorConfigurationTestCase::testSettingsPage in drupal/modules/aggregator/aggregator.test
Tests the settings form to ensure the correct default values are used.
aggregator_form_aggregator_admin_form_alter in drupal/modules/aggregator/aggregator.processor.inc
Implements hook_form_aggregator_admin_form_alter().
aggregator_page_categories in drupal/modules/aggregator/aggregator.pages.inc
Page callback: Displays all the categories used by the Aggregator module.
aggregator_page_sources in drupal/modules/aggregator/aggregator.pages.inc
Page callback: Displays all the feeds used by the aggregator.
aggregator_theme in drupal/modules/aggregator/aggregator.module
Implements hook_theme().

... See full list

File

drupal/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