No, the delta value is designed to distinquish between different blocks provided by the same module, and should not be used to pass data. You can look at the url and make your own assumptions based on q= parameter and/or provide node load hooks to get data that is passed to the block via static variable caching or some other caching mechanism.
I don't know if that's the "right" approach, but it's what I'd do.
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Scott Sent: Friday, June 04, 2010 1:03 PM To: Drupal Support Subject: [support] setting different delta values for hook_block
I'm developing a module that currently does not use the delta value in hook_block. The view option merely displays a form for entering search criteria. What I would like is for certain pages on the site to provide default search criteria and then display the search results. My understanding is that this can be accomplished by setting the delta value. I'm unclear on how and where to do this. I suspect this is a theme setting issue but I have not found examples.
-- [ Drupal support list | http://lists.drupal.org/ ]