aggregator-feed-source.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).
  1. cis7 modules/aggregator/aggregator-feed-source.tpl.php
  2. cis7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  3. cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  4. cle7 modules/aggregator/aggregator-feed-source.tpl.php
  5. cle7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  6. cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  7. ecd7 modules/aggregator/aggregator-feed-source.tpl.php
  8. ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  9. ecd7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  10. elmsmedia7 modules/aggregator/aggregator-feed-source.tpl.php
  11. elmsmedia7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  12. elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  13. harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  14. harmony7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  15. harmony7 modules/aggregator/aggregator-feed-source.tpl.php
  16. icor7 modules/aggregator/aggregator-feed-source.tpl.php
  17. icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  18. icor7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  19. meedjum_blog7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  20. meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  21. meedjum_blog7 modules/aggregator/aggregator-feed-source.tpl.php
  22. mooc7 sites/all/themes/ulmus/fontfolio/templates/aggregator-feed-source.tpl.php
  23. mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
  24. mooc7 modules/aggregator/aggregator-feed-source.tpl.php

Adativetheme implementation to present the source of the feed.

The contents are rendered above feed listings when browsing source feeds. For example, "example.com/aggregator/sources/1".

Adaptivetheme variables:

  • $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return TRUE for mobile. Note that tablets are also considered mobile devices. Returns NULL if the feature could not be detected.
  • $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets. Returns NULL if the feature could not be detected.

Available variables:

  • $source_icon: Feed icon linked to the source. Rendered through theme_feed_icon().
  • $source_image: Image set by the feed source.
  • $source_description: Description set by the feed source.
  • $source_url: URL to the feed source.
  • $last_checked: How long ago the feed was checked locally.

See also

template_preprocess()

template_preprocess_aggregator_feed_source()

1 theme call to aggregator-feed-source.tpl.php
aggregator_page_source in modules/aggregator/aggregator.pages.inc
Page callback: Displays all the items captured from the particular feed.
2 string references to the theme hook from aggregator-feed-source.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_page_source in modules/aggregator/aggregator.pages.inc
Page callback: Displays all the items captured from the particular feed.
aggregator_theme in modules/aggregator/aggregator.module
Implements hook_theme().

File

sites/all/themes/ulmus/adaptivetheme/at_core/templates/aggregator-feed-source.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Adativetheme implementation to present the source of the feed.
  5. *
  6. * The contents are rendered above feed listings when browsing source feeds.
  7. * For example, "example.com/aggregator/sources/1".
  8. *
  9. * Adaptivetheme variables:
  10. * - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return
  11. * TRUE for mobile. Note that tablets are also considered mobile devices.
  12. * Returns NULL if the feature could not be detected.
  13. * - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets.
  14. * Returns NULL if the feature could not be detected.
  15. *
  16. * Available variables:
  17. * - $source_icon: Feed icon linked to the source. Rendered through
  18. * theme_feed_icon().
  19. * - $source_image: Image set by the feed source.
  20. * - $source_description: Description set by the feed source.
  21. * - $source_url: URL to the feed source.
  22. * - $last_checked: How long ago the feed was checked locally.
  23. *
  24. * @see template_preprocess()
  25. * @see template_preprocess_aggregator_feed_source()
  26. *
  27. * @ingroup themeable
  28. */
  29. ?>
  30. <aside class="feed-source">
  31. <?php if ($source_description): ?>
  32. <header class="feed-description"><?php print $source_icon; ?><?php print $source_description; ?></header>
  33. <?php endif; ?>
  34. <?php print $source_image; ?>
  35. <dl class="feed-details">
  36. <dt class="feed-url"><?php print t('URL:'); ?></dt>
  37. <dd class="clearfix"><?php print $source_url; ?></dd>
  38. <dt class="feed-updated"><?php print t('Updated:'); ?></dt>
  39. <dd class="clearfix"><?php print $last_checked; ?></dd>
  40. </dl>
  41. </aside>

Related topics

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.