Download - Display suite 2 - Drupalcamp gent
Display Suite 2Kristof De Jaeger
Sunday 27 May 12
About me
• Kristof De Jaeger
• Drupal developer at Krimson
• @swentel
• Lead maintainer of Display Suite
• Other: sweaver, field_group, core
Sunday 27 May 12
Why Display Suite 2
• UX problems
• Get ready for the future: HTML 5
• Get new features in
• Fix some outstanding problems
• Because we just like to code
Sunday 27 May 12
Thank you
• Krimson
• Bram “aspilicious” Goffings
• Bojan and Yoroy
• All other sprinters during the DS Easter sprint
Sunday 27 May 12
UX analysis
• Mostly a problem for first time users
• They don’t know what todo
• They don’t have a clue where to click
• Thank you screencasts
Sunday 27 May 12
UX - main entry
Sunday 27 May 12
UX - layout overview
Sunday 27 May 12
UX - layout in wrong tab
Sunday 27 May 12
UX - change layout
Sunday 27 May 12
UX - change layout
Sunday 27 May 12
UX Battle planDefault entry to layout list - content aboveAll other become tabs or subtabs
Sunday 27 May 12
UX Battle planMake the layout tab the defaultAdd preview images with AJAXRemove the apply button
Sunday 27 May 12
UX Battle planRedesign the switch layout screenMake use of previews
Sunday 27 May 12
UX Battle plan
• Manage display tab or contextual is default
• Pre fill layout with default fields
Sunday 27 May 12
HTML 5
• Is this possible with 7.x-1.x ?
• YES
• Custom templates
• Only for layouts, not fields
• NO
• Not through the UI
Sunday 27 May 12
HTML 5
• HTML 5 wrappers for layout and regions
Sunday 27 May 12
HTML 5
• Wrappers for fields (fieldgroups)
Sunday 27 May 12
HTML 5
• templates are different now
• hide empty regions is gone
• they now support forms by default
• use drush ds-build to help you
Sunday 27 May 12
HTML 5
Sunday 27 May 12
Crazy field (templates)
• Expert template now supports
• default attributes
• custom attributes
• tokens in field item
• They are now in the cogwheel!
Sunday 27 May 12
Other things
• Alter before you render: hook_ds_prerender_alter
• Field permissions
• Flags support
• Views display supports hiding title
• More taxonomy formatters
• Views ‘delta’ fields
Sunday 27 May 12
IMPORTANT
• no upgrade path so far
• panel view modes is gone, use panelizer 7.x-3.x
• field template configuration has some problems, but that’s the last thing to fix
Sunday 27 May 12
DEMO
23
Sunday 27 May 12
Release
• Candidate release begin of june
• Official release probably 27th of june
• GO TEST and submit issues and/or patches
• http://drupal.org/project/ds
24
Sunday 27 May 12
Your questions
• Go crazy!
Sunday 27 May 12
Feedback & follow-up:http://drupalcampgent.be/feedback
Sunday 27 May 12