Downloads

Download tar.gz 44.95 KB
MD5: 74ac769e0be05d0f06366b8614ba6fde
SHA-1: d2cf4e1a92bfab0dd25ecffc257c952a803330bf
SHA-256: 0e5babb2adb70bc4dccfb853cd21ad1163134dad823a0f5e1738f649f702149d
Download zip 61.59 KB
MD5: 0c2bc5968a72c4e28d7d075237a542be
SHA-1: 3a12d84e9183c57772247e53b14309997ddd1060
SHA-256: 40d13e39a9a3cce7ff1f927811414f9ab5a84dd4e06441aa0d26158dbd809de6

Release notes

DS UI

You need to run update.php after downloading the new version. It's likely you are going to see errors popping up on you screen right before update, during update and maybe even after the update.

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_ds_menu_access' was given in ~/includes/menu.inc on line 452.

Don't worry, this is normal and probably due to some menu caching (also admin menu) - so make sure you flush everything good :)

theme_ds_field()

This now only has 2 parameters instead of three, so update your phptemplate functions if needed.

CSS update

In order to have a cross-browser solution, an extra div has been added to
the three column layout. To catch this change in your custom css, you will
have to add the class '.nd-region-middle' to all sidebar references. For
example:

.nd-two-sidebars becomes .nd-two-sidebars .nd-region-middle

.vd-sidebar-left becomes .vd-sidebar-left .vd-region-middle

You can still use the phptemplate override as describe in release 1.1 (code at the bottom)

Other changes (including all stuff from nd, cd, ud, vd and nd_contrib)

- #770368 by swentel and zuuperman: views fields ds plugin.
- #722852 by jyve: theming optimisations.
- #777290 by swentel: fix empty region plugin order of regions.
- #771134 by swentel: Add support for preprocess fields via UI and selecting a key in variables.
- #737008 by swentel: Support feature integration per object type.
- #779040 by swentel: DS now has a UI module.
- #781882 by swentel: add example outputs from objects.
- #783106 by swentel: styles do not necessarily need friendly names.
- #780906 by swentel: fix variables to make region to block plugin work.
- #781156 by swentel: fix errors on enabling the module for formatters info.
- #651028 by swentel: Integrate with Apache Solr Views

function phptemplate_ds_regions($object_display, $module)

  // Bring back the old ds.css file. It might be more interesting to just copy that file to your theme folder and adding it into the info file of your theme.
  drupal_add_css(drupal_get_path('module', 'ds') .'/css/ds.css');

  $content = '';
  foreach ($object_display->themed_regions as $region_name => $region_data) {
    $content .= '<div class="ds-region-'. $region_name;
    if ($region_name == 'middle') {
      $content .= ' '. $object_display->ds_middle_classes;
    }
    if (isset($region_data['extra_class'])) {
      $content .= $region_data['extra_class'];
    }
    $content .= '" ';
    if (isset($region_data['inline_css'])) {
      $content .= $region_data['inline_css'];
    }
    $content .= '><div class="ds-region-inner">'. $region_data['content'] .'</div></div>';
  }
  return $content;
Created by: swentel
Created on: 7 May 2010 at 11:43 UTC
Last updated: 20 May 2010 at 07:44 UTC
Unsupported

Other releases