Skip to content
  • Dries Buytaert's avatar
    - Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched... · 79b016d9
    Dries Buytaert authored
    - Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
    
      The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php.  The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:
    
        block-user-0.tpl.php --> block-user-navigation.tpl.php
        block-user-1.tpl.php --> block-user-login.tpl.php
    
      You get the picture.
    79b016d9