[support] block.tpl.php CSS issue

Broyhill, Gary Gary.Broyhill at lr.edu
Thu Sep 30 15:27:17 UTC 2010


I've got a CSS problem related to block.tpl.php . I was looking at the API for block.tpl.php, and I'm a little confused over how Drupal assigns the block-block-x  ID to come up with block-block-1, block-block2, etc.

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

So I see that the ID value comes from "block-<?php print $block->module .'-'. $block->delta; ?>" but where its the numbering controlled?



--
Gary Broyhill
Webmaster
Lenoir-Rhyne University
www.lr.edu
gary.broyhill at lr.edu
(828)328-7379
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100930/db8c1777/attachment.html 


More information about the support mailing list