Block Subtitle

Component ID

833322

Component name

Block Subtitle

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

6026

Component created

Component changed

Component body

This module allows subtitle to be added to blocks.

Installation

  1. Enable the Block Subtitle module under Administer >> Site Building >> Modules
  2. To add a subtitle to a block, go to the block configuration page. A new field 'subtitle' will be available. Enter your subtitle and click save.
  3. Now you need to edit block.tpl.php in your theme. Add the following code to show the block subtitle
  4. <?php if (!empty($block->subtitle)): ?>
        <h3 class="subtitle"><?php print $block->subtitle; ?></h3>
    <?php endif; ?>