Drupal 8 The
Tasty
Backend
DrupalCamp London
4 March 2018
Jeni Tehan
Whoami
- Jeni Tehan
- Delicious Creative
- Drupal! 2006-2007ish
Frankie is the best!
1. Jackawawa
2. South Downs
3. Wu-Tang Clan
Demo Site
tastybackend.com
Philosophy of the Tasty Backend
Philosophy of the Tasty Backend
What is this all about?
- Drupal is very powerful.
- That's why we ♥ Drupal
- But...
All that power is, well, powerful
- This can overwhelm some users
Lock it down!
All that power is, well, powerful
- Defaults provided by Drupal are only OK
- We can do better!
- Defaults seem more appropriate for site builders and developers, not end users
Drupal isn't a CMS, it's a toolkit for building a CMS
If you're only providing user 1 access, you've failed.
- Not providing a streamlined UI for the tasks admins actually need to do
- Encourages people to share account details with full administration privileges
We Must KILL Help All Humans!
- Our content admins are human
- We can simplify how people add content
- We can simplify how people manage content
- We can simplify how people get around
It's easy!
(Tasty Backend does it for you)
Toasty Backend
Drupal 8 Tasty
Backend Module
- Standalone module
drupal.org/project/tasty_backend
- BYOIP (Bring your own install profile)
- Core administration pages are left alone
Tasty Backend Contrib Depdendencies
- Admin Toolbar
- Admin Toolbar Tools
- Menu Admin Per Menu
- Override Node Options
- Role Delegation
- Taxonomy Access Fix
- Toolbar Menu
- View Unpublished
Frankie uses Composer
Creating Content
- For New Clients This Is Everything
- Content Admin role included
- Fields dumped out into one column
- D7 vertical tabs
- D8 horizontal tabs
Separate fields into tabs
- Field Group
drupal.org/project/field_group
- Shortens the forms
- Simplifies things so your clients don't recoil in fear
- Gets your forms to the point of the content
- Only add the basic fields necessary to create the content, additional optional fields are hidden
Separate fields into tabs
- Hides long lists of references, taxonomy terms, etc
- Can add in more fields without making the form look huge
- Add additional functionality without appearance of additional complexity
It's up to you!
Doesn't matter what approach you take,
do what works for you.
Further Node Form Cleansing
- If it's on the page, and it really doesn't need to be, get rid of it!
- hook_form_alter()
- Disable Field
drupal.org/project/disable_field
Not just content
- Commerce Products
- Custom Entities
- Anything else your users interact with.
Managing Content
- Default content page just isn't up for the task
- It's now a view!
- Not specific enough information
Custom management view per content type
- Create admins screens that suit the content
- Show relevant information on complex content types
- Gives clients easy access to relevant information
- Gives YOU access to relevant information
- Better understanding all around
Tasty Backend creates them for you!
Tasty Backend Manage Content Views
- Management view added per content type
- Links added to TB manage menu
- Modify them to suit your needs after creation
- Modify base view so your views pick up the changes
- Bulk update all views after modifying the base view
Frankie in the pub
Administration Menus
- The default "Manage" menu is for ME
- TB Manage menu for content/user admins
- Only contains links they need
- Toolbar menu module
drupal.org/project/toolbar_menu
- Links automatically added for adding content types, managing, taxonomy, menus, etc
- Bonus "System" menu item (disabled)
Frankie doesn't want to get out of bed
Manging menus
- Menu admin per menu
drupal.org/project/menu_admin_per_menu
- Permissions to allow roles to only edit certain menus
- We don't want them messing with the default Manage menu!
Frankie is ready to help you
Users
- User admin role gives admins the ability to edit other users
- Only need the "Administer users" permission
- Role Delegation
drupal.org/project/role_delegation
- Only add "Content admin" and "User admin" roles
- Recommend User Protect module
drupal.org/project/userprotect
So damn tasty!
drupal.org/project/tasty_backend
Tasty demo site!
tastybackend.com
More tasty goodness
Additional D7 modules
Hopefully coming to D8 at some point
- Tasty Backend Media
- Tasty Backend Webform
- Tasty Backend Commerce (eventually)
Thank You!
Jeni Tehan
deliciouscreative.com
jeni@deliciouscreative.com
@DelishCreative
jeni_dc
Just one more thing...