Full ELMS Learning Network documentation
aggregator-item.tpl.php
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).- cis7 modules/aggregator/aggregator-item.tpl.php
- cis7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- cle7 modules/aggregator/aggregator-item.tpl.php
- cle7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- ecd7 modules/aggregator/aggregator-item.tpl.php
- ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- ecd7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- elmsmedia7 modules/aggregator/aggregator-item.tpl.php
- elmsmedia7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- harmony7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- harmony7 modules/aggregator/aggregator-item.tpl.php
- icor7 modules/aggregator/aggregator-item.tpl.php
- icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- icor7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- meedjum_blog7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- meedjum_blog7 modules/aggregator/aggregator-item.tpl.php
- mooc7 sites/all/themes/ulmus/fontfolio/templates/aggregator-item.tpl.php
- mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-item.tpl.php
- mooc7 modules/aggregator/aggregator-item.tpl.php
Default theme implementation to format an individual feed item for display on the aggregator page.
Available variables:
- $feed_url: URL to the originating feed item.
- $feed_title: Title of the feed item.
- $source_url: Link to the local source section.
- $source_title: Title of the remote source.
- $source_date: Date the feed was posted on the remote source.
- $content: Feed item content.
- $categories: Linked categories assigned to the feed.
See also
template_preprocess_aggregator_item()
2 theme calls to aggregator-item.tpl.php
- aggregator_categorize_items in modules/
aggregator/ aggregator.pages.inc - Form constructor to build the page list form.
- _aggregator_page_list in modules/
aggregator/ aggregator.pages.inc - Prints an aggregator page listing a number of feed items.
15 string references to the theme hook from aggregator-item.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.
- aggregator_aggregator_remove in modules/
aggregator/ aggregator.processor.inc - Implements hook_aggregator_remove().
- aggregator_categorize_items in modules/
aggregator/ aggregator.pages.inc - Form constructor to build the page list form.
- aggregator_expire in modules/
aggregator/ aggregator.processor.inc - Expires items from a feed depending on expiration settings.
- aggregator_feed_items_load in modules/
aggregator/ aggregator.pages.inc - Loads and optionally filters feed items.
- aggregator_save_feed in modules/
aggregator/ aggregator.module - Add/edit/delete an aggregator feed.
File
modules/aggregator/aggregator-item.tpl.phpView source
- <?php
-
- /**
- * @file
- * Default theme implementation to format an individual feed item for display
- * on the aggregator page.
- *
- * Available variables:
- * - $feed_url: URL to the originating feed item.
- * - $feed_title: Title of the feed item.
- * - $source_url: Link to the local source section.
- * - $source_title: Title of the remote source.
- * - $source_date: Date the feed was posted on the remote source.
- * - $content: Feed item content.
- * - $categories: Linked categories assigned to the feed.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_item()
- *
- * @ingroup themeable
- */
- ?>
- <div class="feed-item">
- <h3 class="feed-item-title">
- <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
- </h3>
-
- <div class="feed-item-meta">
- <?php if ($source_url): ?>
- <a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> -
- <?php endif; ?>
- <span class="feed-item-date"><?php print $source_date; ?></span>
- </div>
-
- <?php if ($content): ?>
- <div class="feed-item-body">
- <?php print $content; ?>
- </div>
- <?php endif; ?>
-
- <?php if ($categories): ?>
- <div class="feed-item-categories">
- <?php print t('Categories'); ?>: <?php print implode(', ', $categories); ?>
- </div>
- <?php endif ;?>
-
- </div>
-