A chloropleth map of all the FP7 projects, showing countries leading and partnering in FP7 projects.
- Open Consortium, http://openconsortium.eu
| diff --git a/libraries.module b/libraries.module | |
| index 687fa29..782792b 100644 | |
| --- a/libraries.module | |
| +++ b/libraries.module | |
| @@ -82,6 +82,9 @@ function libraries_get_libraries() { | |
| // Always search sites/all/libraries. | |
| $searchdir[] = 'sites/all/libraries'; | |
| + // Patch until we sort out https://drupal.org/node/1811486 and drupal_get_profiles actually exists. Profile inheritance is still relatively new, but we need this new, hence the hardcoded hack. Expected to be removed in the next cycle of D7 | |
| + $searchdir[] = drupal_get_path('profile', 'foundation') . "/libraries"; |
| diff --git a/media.module b/media.module | |
| index ade1169..406d1b0 100644 | |
| --- a/media.module | |
| +++ b/media.module | |
| @@ -1074,10 +1074,14 @@ function media_file_displays_alter(&$displays, $file, $view_mode) { | |
| */ | |
| function media_file_default_displays_alter(&$file_displays) { | |
| // Image previews should be displayed using the media image style. | |
| - $file_displays['image__preview__file_field_image']->settings['image_style'] = 'media_thumbnail'; | |
| + if (isset($file_displays['image__preview__file_field_image'])) { |
A chloropleth map of all the FP7 projects, showing countries leading and partnering in FP7 projects.
| diff --git a/modules/cart/commerce_cart.module b/modules/cart/commerce_cart.module | |
| index 4d0540d..e500077 100644 | |
| --- a/modules/cart/commerce_cart.module | |
| +++ b/modules/cart/commerce_cart.module | |
| @@ -505,7 +505,7 @@ function commerce_cart_block_view($delta) { | |
| // Build the variables array to send to the cart block template. | |
| $variables = array( | |
| 'order' => $order, | |
| - 'contents_view' => commerce_embed_view('commerce_cart_block', 'defaults', array($order->order_id)), | |
| + 'contents_view' => commerce_embed_view('commerce_cart_block', 'defaults', array($order->order_id), $_GET['q'] ), |
| ; Basic Drush Make file | |
| ; | |
| ; Usage: | |
| ; drush make --prepare-install drupal7.make | |
| ; Core version | |
| ; ------------ | |
| ; Each makefile should begin by declaring the core version of Drupal that all | |
| ; projects should be compatible with. |
| ; Basic Drush Make file | |
| ; See the Drush Make prject page for info: | |
| ; http://drupal.org/project/drush_make | |
| ; This file by Brock Boland [brock@brockboland.com] | |
| ; | |
| ; This file is also on GitHub: | |
| ; http://gist.github.com/404528 | |
| ; Core version | |
| ; ------------ |