Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download blockreference-7.x-2.0-beta1.tar.gztar.gz 13.6 KB
MD5: b516c17116126c5961e9afdacf9b7a3e
SHA-1: 8d76cf0b966482ae16c70fc5e092ec61b9417e37
SHA-256: 89aa4be229cc356ef93f4605c12d9198ea72c205c27a8462d39a19f4d8f234cf
Download blockreference-7.x-2.0-beta1.zipzip 15.89 KB
MD5: f5afc5a177c5779a835e1edc0cc3d6f5
SHA-1: 70b7d2ea08eaaed6f02d709adabdda79c4924003
SHA-256: 354bba28669da2326358874a981981b0162d7d190ca0abe8753d8bd0b16404da

Release notes

Version 2's API has changed completely, so modules using Blockreference might be broken. There is an upgrade path, so content should be fine. Views should still work, but maybe not.

Test v2 very well before upgrading.

Version 2 fixes the bid problem: in v1 blocks were referenced by {block}.bid, but that changed, because the block table is sort of a cache. Now they're stored as module & delta, which means the field tables have changed structure and references can't be lost now. Reference options have moved from field to field instance and I've removed all options except "Referenceable modules".

I've removed a few deprecated things and more things that I thought were useless, so this is not a Blockreference v1 drop-in! And it might be broken everywhere, so try it and let me know.

Version 2 adds two dependencies: Entity API and PHP 5.3+. You should have both already.

Created by: rudiedirkx
Created on: 27 Feb 2014 at 15:31 UTC
Last updated: 7 Apr 2014 at 17:14 UTC
New features

Other releases