Is there a way to wrap everything this module outputs after the

tags in with

or tags. I need to apply some CSS formatting to just this modules output (and not the block title).

I tried looking though "countdown.module" for anything that looked like it wrapped html code around the output, but could not find anything.

Comments

jeeves’s picture

I should have down a bit more poking around because I found the answer in this modules "issues" forum.

Basically I used the technique outline here: http://drupal.org/node/104319

and created a "block-countdown.tpl.php" with the following contents and uploaded it to my themes folder:

<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">

<?php if ($block->subject): ?>
  <h2><?php print $block->subject ?></h2>
<?php endif;?>

  <p><?php print $block->content ?></p>
</div>

seems to work perfectly

jeeves’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.