Home ›
Block CSS ID for custom module blocks in Drupal 4.7Block CSS ID for custom module blocks in Drupal 4.7
Submitted by Benjamin Melançon on August 22, 2007 - 4:01am
drupal 4.7 block id
the ID for that block -- as provided to the theme in a line like this:
<div class="block block-coamod" id="block-coamod-1">
Can be set in a custom module, replacing the delta numbers with whatever text string you want.
Set in the block info part of the hook I think and used in the switch statement deciding what to display.
drupal 4.7 block id
the ID for that block -- as provided to the theme in a line like this:
<div class="block block-coamod" id="block-coamod-1">
Can be set in a custom module, replacing the delta numbers with whatever text string you want.
Set in the block info part of the hook I think and used in the switch statement deciding what to display.
Comments
Post new comment