$block_id==$id

dan90 - May 15, 2006 - 09:15
Project:PHPTemplate
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

$block id does not appear to be resetting in the PHPtemplate-supplied variables to block.tpl.php - at least in my 4.7.0 site. I do have 2 additional block regions, and will test that it is not related to these as time permits.

#1

dan90 - May 15, 2006 - 09:17

That is to sah : both $block_d and $id ascend in identical sequence across all block regions, and neither variable resets to 1 at the start of the region. I believe $block_id should be resetting to 1 at the first block of each region.

#2

dan90 - July 6, 2006 - 12:17

needed a per-region counter, so I posted a workaround on the forums

#3

dan90 - July 20, 2006 - 03:52

Sorry, I've been smoking too much crack. the forum post is here.

 
 

Drupal is a registered trademark of Dries Buytaert.