Downloads
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;