[support] Drupal 7/Zen Theme Question

Hakan agents at meddatainc.com
Wed May 2 02:11:46 UTC 2012


Nancy, how do you generate that alpha descriptor? By updating the
database from a numeric to a database descriptor or some other way?

On Tue, 1 May 2012 14:40:25 -0700 (PDT), Ms. Nancy Wichmann wrote:

>Each module may define its own IDs. Many people don't realize that the ID is actually a text field in the database, so they just use a numeric counter, as the Block module does. For the Block module, that's probably the best alternative to avoid duplication. In my modules, I prefer an alpha descriptor (or "delta") as that gives me a reminder of what the block is supposed to do. So, for an example, the Weblinks module could have "block-weblinks-random".
>
> 
>Nancy 
>
>Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
>
>
>
>>________________________________
>> From: Hakan
>>
>Thank you Michael, that was helpful. In other words, the block ID is
>>generated programmatically by the block module? It would seem to me
>>that the footer message would use a more "recognizable" id than
>>"block-block-1" - as in my case - being IDed as the first block
>>entered/saved...
>>




More information about the support mailing list