Upload
artusamak
View
7.144
Download
1
Embed Size (px)
DESCRIPTION
We are using Drupal which is gently taking care of pre-building administrative forms for us. "OK so let's add some content type and field now. Perfect! We now have a huuuuuuge collections of fields. Where is this image field again?" "Let's create some content now! Yes i have this huuuuuuuuge list of items now, how do i search in it?" "OK, now my content is there, i have to publish it. On which site is it live? Shout, i have to check everywhere. Can you do it by tomorrow?" "Oh the partner changed its name now i have to update its name, let's edit 100 nodes! Could i do it fast?" Our sites are used by real people (i swear), we should take care of them by offering the most efficient user interface possible. In order to do that, we will see how to improve Drupal default behaviors and try to optimize the screens used for hours by the users. We have some tools outthere that just need to be know in order to please everyone. We will have a tour of the existing modules during this session and talk about how we build some of them and why you should do the same.
Citation preview
Care for you backoffice
Guillaume BECJulien DUBOIS
Battle plan
• Drupal 7 sucks!
• Drupal 7 rocks!
• Thank you contrib!
• What’s new in Drupal 8
Drupal 7 sucks
But it comes with painful screens / operations for a daily usage :
• Node edit• Content view• User view
• Overlay• Limited Bulk
Operations• No WYSIWYG
Drupal 7 rocksRemember, core brings few base pieces that are interesting:• Dashboard• Shortcut• Contextual links• Toolbar• Custom admin form
Thank you contrib
Core developers are relying on contrib in order to solve some issues.
Let’s review some of them…
Page structure
Panels• Variants• Layout• Plugins
Display suite
Page structureField group / Edit
Edit
Field group
ListingsViews / VBO / Search API Build screens that display the appropriate
information Code the 3 top actions that your users will
use bulkly Compute complex data and index them
Search API
Admin views
NavigationAdmin / Admin menu Reorganize your menus Match your organization Segment by division if necessary
UsabilityChosen / Hierarchical select Multi select lists sucks!
Chosen
Hierarchical select
Usability
Views megarow
UsabilityWYSIWYG CKeditor / BUeditor / Tiny MCE
BUEditor
Better formats
Usability
Conditional Fields
Dashboards
Total control admin
Dashboards
Clients love dashboards
Useful for features but also for content editors!
Content management
Diff
Content management
Media
Content management
Scald
Content management
Assets
Content authoring
Override node options
Publish button / Save draft / Add another
Content authoring
Save draft
Add another
Publish button
Content authoring
Scheduler
Content authoring
Linkit
Content authoring
Field validation
Client side validation
Webmastering
Views UI Basic
Admin themes
Rubik
Pro Tips Write understandable field help texts
Build admin screens by role or need
Switch labels to inline
CSS (float, margin, borders are quick wins)
$form[‘BES’][‘#access’] = FALSE;
Code!Sometimes contrib is not enough, you need to push it further.
Code your views handlers
Code your field widgets
Code your ctools plugins
Build new contrib modules
What about Drupal 8?
Well for the content editor, it’s mainly UI related (but it still important!)
Edit in place in core
WYSIWYG in core
VBO(ish) in core
Views in core
Draft in core
New content page layout
Creditshttp://curveagency.com/blog/building-better-dashboard-experience-drupal