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.
Downloads
Download ds-6.x-1.1.tar.gztar.gz
38.99 KB
MD5: 98e9999bcad7704da83ab2ace2e20e4e
SHA-1: 9292b472b4a12e860e4c758977cb2494db3d02df
SHA-256: 33c82f3802f131ee1b0bfdda35187c9b51606b3c01c7e836a19737894c7a9196
Download ds-6.x-1.1.zipzip
51.81 KB
MD5: 00ee612ae8a2a298e50d99e80009a595
SHA-1: 52fb32c9e2e1847e122ab9da88681b8a7ef29ec0
SHA-256: 183a9fe8b4138cb2684277e9e3f95d98902c8291f8a8171a0262132114be4d18
Release notes
Important: you need to upgrade all modules related to Display Suite if you are using them: Node Displays, Node Displays Contributions etc - they all have a new release available.
We introduced 2 small API changes which you should read first:
-
Instead of using 'ds.css', every module (like nd, cd, ud and cd) now have their own CSS file to avoid css clashes. If you upgrade, your css might now work anymore if you did some overrides. However, we did a split of the rendering of all regions into a separate theming function. You can paste following code in your template.php or in your module file to safely upgrade to 1.1 without losing CSS markup. If you don't care, you can safely delete ds.css in the css directory.
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;
We also changed the default nd.tpl.php a bit - although the implications should be minimal - but it might be best to make a backup first.
- ds_show_links() has been renamed to ds_show_field() and takes an extra parameter. If you use it, see http://drupal.org/node/697320#ds_show_field
Full list of features and bugfixes
- #710094: Small bug on admin/ds/layout
- #701132: Catagolus display view
- #722004: Better explanation of advanced viewname
- #727224: Add more options to hook_ds_api and small fix to buildmodes form.
- #720122: Views attached content is not displayed
- #727358: Admin links not displayed yet
- #722000: Make all taxonomy vocabs available as default
- #710034: Add posibility to assign a ds region to a theme region
- #710782: Add option to copy settings from one build mode to other(s)
- #742658: Rename ds_show_links to ds_show_field
- #724420: No Core Body on RSS
- #723638: Make user profile type name doesn't clash with content type name
- #723916: Field title could = edit
- #724124: Add css-class to field definition
- #740552: Installing/Uninstalling nd_fivestar conflicts with fivestar
- #744832: Panels integration
- #743872: Specific node type templates not rendering Ok
- #698272: Finish UD: support for core profile fields
- #763208: fieldgroup display label even there no data
- #582618: Incompatible with fieldgroups - critical for users who want fieldgroups
- #737314: Problem when indexing with Solr
- #766280: Can't overide nd_cck.tpl.php with custom tpl file
- #763024: Add support for cck fieldgroup tabs