block.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/block/block.tpl.php
  2. cis7 sites/all/themes/local_contrib/zurb-foundation/templates/block.tpl.php
  3. cis7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  4. cis7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  5. cis7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  6. cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  7. cis7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  8. cle7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  9. cle7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  10. cle7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  11. cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  12. cle7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  13. cle7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  14. cle7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  15. cle7 sites/all/themes/local_contrib/bootstrap/templates/block.tpl.php
  16. cle7 modules/block/block.tpl.php
  17. ecd7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  18. ecd7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  19. ecd7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  20. ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  21. ecd7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  22. ecd7 modules/block/block.tpl.php
  23. ecd7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  24. elmsmedia7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  25. elmsmedia7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  26. elmsmedia7 modules/block/block.tpl.php
  27. elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  28. elmsmedia7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  29. elmsmedia7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  30. elmsmedia7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  31. harmony7 modules/block/block.tpl.php
  32. harmony7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  33. harmony7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  34. harmony7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  35. harmony7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  36. harmony7 sites/all/themes/local_contrib/bootstrap/theme/block/block.tpl.php
  37. harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  38. harmony7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  39. icor7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  40. icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  41. icor7 modules/block/block.tpl.php
  42. icor7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  43. icor7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  44. icor7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  45. icor7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  46. meedjum_blog7 modules/block/block.tpl.php
  47. meedjum_blog7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  48. meedjum_blog7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  49. meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  50. meedjum_blog7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  51. meedjum_blog7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  52. meedjum_blog7 sites/all/themes/local_contrib/meedjum/templates/block.tpl.php
  53. meedjum_blog7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php
  54. mooc7 modules/block/block.tpl.php
  55. mooc7 sites/all/themes/ulmus/fontfolio/templates/block.tpl.php
  56. mooc7 sites/all/themes/ulmus/omega/alpha/templates/block.tpl.php
  57. mooc7 sites/all/themes/ulmus/omega/omega/templates/block.tpl.php
  58. mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/block.tpl.php
  59. mooc7 sites/all/themes/ulmus/omega/starterkits/omega-xhtml/templates/block.tpl.php
  60. mooc7 sites/all/themes/local_contrib/zurb_foundation/templates/block.tpl.php

Default theme implementation to display a block.

Available variables:

  • $block->subject: Block title.
  • $content: Block content.
  • $block->module: Module that generated the block.
  • $block->delta: An ID for the block, unique within each module.
  • $block->region: The block region embedding the current block.
  • $classes: String of classes that can be used to style contextually through CSS. It can be manipulated through the variable $classes_array from preprocess functions. The default values can be one or more of the following:

    • block: The current template type, i.e., "theming hook".
    • block-[module]: The module generating the block. For example, the user module is responsible for handling the default user navigation block. In that case the class would be 'block-user'.
  • $title_prefix (array): An array containing additional output populated by modules, intended to be displayed in front of the main title tag that appears in the template.
  • $title_suffix (array): An array containing additional output populated by modules, intended to be displayed after the main title tag that appears in the template.

Helper variables:

  • $classes_array: Array of html class attribute values. It is flattened into a string within the variable $classes.
  • $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
  • $zebra: Same output as $block_zebra but independent of any block region.
  • $block_id: Counter dependent on each block region.
  • $id: Same output as $block_id but independent of any block region.
  • $is_front: Flags true when presented in the front page.
  • $logged_in: Flags true when the current user is a logged-in member.
  • $is_admin: Flags true when the current user is an administrator.
  • $block_html_id: A valid HTML ID and guaranteed unique.

See also

template_preprocess()

template_preprocess_block()

template_process()

7 theme calls to block.tpl.php
boxes_block_view in sites/all/modules/ulmus/boxes/boxes.module
Implements hook_block_view().
context-block-browser.tpl.php in sites/all/modules/ulmus/context/theme/context-block-browser.tpl.php
ds_render_block_field in sites/all/modules/ulmus/ds/ds.module
Render a block field.
poll_view_results in modules/poll/poll.module
Generates a graphical representation of the results of a poll.
theme_admin_page in modules/system/system.admin.inc
Returns HTML for an administrative page.

... See full list

202 string references to the theme hook from block.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.

@print_mail_settings in sites/all/modules/local_contrib/print/print_mail/print_mail.admin.inc
Menu callback for the send by email module settings form.
adaptivetheme_preprocess_block in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for block.tpl.php
adaptivetheme_preprocess_block in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for block.tpl.php
adaptivetheme_preprocess_panels_pane in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for panels_pane.tpl.php
adaptivetheme_process_block in sites/all/themes/ulmus/adaptivetheme/at_core/inc/process.inc
Process variables for block.tpl.php

... See full list

File

modules/block/block.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to display a block.
  5. *
  6. * Available variables:
  7. * - $block->subject: Block title.
  8. * - $content: Block content.
  9. * - $block->module: Module that generated the block.
  10. * - $block->delta: An ID for the block, unique within each module.
  11. * - $block->region: The block region embedding the current block.
  12. * - $classes: String of classes that can be used to style contextually through
  13. * CSS. It can be manipulated through the variable $classes_array from
  14. * preprocess functions. The default values can be one or more of the
  15. * following:
  16. * - block: The current template type, i.e., "theming hook".
  17. * - block-[module]: The module generating the block. For example, the user
  18. * module is responsible for handling the default user navigation block. In
  19. * that case the class would be 'block-user'.
  20. * - $title_prefix (array): An array containing additional output populated by
  21. * modules, intended to be displayed in front of the main title tag that
  22. * appears in the template.
  23. * - $title_suffix (array): An array containing additional output populated by
  24. * modules, intended to be displayed after the main title tag that appears in
  25. * the template.
  26. *
  27. * Helper variables:
  28. * - $classes_array: Array of html class attribute values. It is flattened
  29. * into a string within the variable $classes.
  30. * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
  31. * - $zebra: Same output as $block_zebra but independent of any block region.
  32. * - $block_id: Counter dependent on each block region.
  33. * - $id: Same output as $block_id but independent of any block region.
  34. * - $is_front: Flags true when presented in the front page.
  35. * - $logged_in: Flags true when the current user is a logged-in member.
  36. * - $is_admin: Flags true when the current user is an administrator.
  37. * - $block_html_id: A valid HTML ID and guaranteed unique.
  38. *
  39. * @see template_preprocess()
  40. * @see template_preprocess_block()
  41. * @see template_process()
  42. *
  43. * @ingroup themeable
  44. */
  45. ?>
  46. <div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
  47. <?php print render($title_prefix); ?>
  48. <?php if ($block->subject): ?>
  49. <h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
  50. <?php endif;?>
  51. <?php print render($title_suffix); ?>
  52. <div class="content"<?php print $content_attributes; ?>>
  53. <?php print $content ?>
  54. </div>
  55. </div>

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.