Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Thanks so much for this module, its just what I needed.
I have a small problem when developing my custom blocks. I followed the example as per http://drupal.org/node/399634 and I never get a value for $edit['multiblock_delta'] so my multiple instances all share the same custom configuration.
I'm using Drupal 6.22.
Regards
Steve
Comment | File | Size | Author |
---|---|---|---|
#1 | multiblock-pass_mutliblock_delta.patch | 552 bytes | oknate |
Comments
Comment #1
oknateComment #2
berimbolo CreditAttribution: berimbolo commentedI had the same issue using multiblock with Drupal 7.
I made similar changes to oknate's Drupal6 patch and it worked fine.
It's been almost 10 months since this was posted, so hopefully the patch will be committed soon.
Comment #3
NancyDruIt would be nice if this was marked as RTBC.
Comment #4
berimbolo CreditAttribution: berimbolo commentedDone, thanks for the tip NancyDru.
Comment #6
intrafusionThis patch has been applied and a new release has been rolled
Comment #7
intrafusionComment #9
mejdzer CreditAttribution: mejdzer commentedI believe there is something wrong with this patch.
$edit['multiblock_delta'] = $delta;
overwrites whatever the result of the following code could be:resulting in
$edit['multiblock_delta']
being always a simple variable and not an array.This change is not back compatible and requires changes in custom modules, ex.:
From this:
to this:
Ref: multiblock.module v.6.1.5, function multiblock_call_block, lines 76-96