Standing up for the Content Creators

Site building and theming for the administrators

Created by Jim Birch
jimbir.ch/standing-up
@thejimbirch
Xeno Media, Inc.

Admin Menu, Organized, but Still So Many Links!

Another view, listing them all on one page

That keeps going...

and going...

and going...

and going...

and going...

and this is a pretty simple site!

Same goes for the ckEditor.
So many options...

But really, only a few things are truly needed.

Who are our
Content Creators?

Common Additional Roles:

  • Webmasters
  • Editors
  • Authors

Content Specific Roles such as:

  • Bloggers
  • Press Releasers

Task Specific Roles such as:

  • Community Manager

Planning & Managing Drupal Projects by Dani Nordin

http://www.amazon.com/dp/1449305482/

Planning and Managing Drupal Projects by Dani Nordin

Once we know who, we can start fighting for them.

Before we begin, let's talk about installing/uninstalling modules.

Using Drush

  • drush dl -y module_name
  • drush en -y module_name
  • drush dis -y module_name
  • drush pm-uninstall -y module_name

In the UI

Turn off (disable)

Uninstall (removes database bits)

Delete module folder by hand/in git

Uninstall module

Theming the Drupal Administration UI

Choosing Admin Themes

Administration Theme Options

  • Choose a separate admin theme
  • Use your front end theme
  • Develop your own admin theme

Block System Applies to Admin Themes Too!

Block Administation Screen

Global changes

Enable Admin Toolbar, Disable Overlay

  • drush en -y admin_menu admin_menu_toolbar
  • drush dis -y toolbar shortcut
  • drush dis -y overlay

Content Type & Taxonomy Defaults

  • Title Label
  • Explanation or submission guidelines (Help)
  • Administrative Description
  • Default Publishing State, Revisions
  • Author, Menu, Sitemap, (other modules), etc

Palantir.net Build Spec Spreadsheet

https://www.palantir.net/blog/developing-drupal-sites-plan-or-perish

Palantir.net Build Spec Spreadsheet

Field Defaults

  • Help text
  • Default text format
  • Module Settings (Linkit, Fences)
  • Number of values for the field
  • Images: File Directory, Types, Alt, etc

Title Module

https://www.drupal.org/project/title

Makes Title a field. Made for Translations, but great for gaining control of Title and using in Display Modes.

Hide Sticky & Promote

https://www.drupal.org/sandbox/studiozut/2303677

Simple custom module that removes the "promote to front page" and "sticky" checkboxes from the node add and edit screens.

Override Node Options

https://www.drupal.org/project/override_node_options

Use this module if you need to control these settings and more per Role.

Simplify

https://www.drupal.org/project/simplify

  • Hide so many of the things
  • Globally or on each:
    • Content type
    • Taxonomy
    • Block
    • Comments
    • User
    • User profile

Field Group

https://www.drupal.org/project/field_group

Add organizing elements to Node Add/Edit, and Node Displays.

Field Group Types

  • Fieldsets
  • Horizontal tabs
  • Vertical tabs
  • Accordions
  • Divs (Good for Grid Systems)
  • HTML elements

Lots of modules that extend.

Environment Indicator

https://www.drupal.org/project/environment_indicator

Not just for Developers!

Use when clients have access to test & staging servers

Dashboard(s)

There are many different ways to create a landing page for the logged in administrator.

  • Default "content" screen
  • Dashboard module
  • Workbench Dashboard
  • Custom Made Admin View

My suggestion is to choose one way, and make it great.

Theming CKEditor

Common Tasks

  • Add only relevant buttons needed for the field
  • Exclude security risks (filters)
  • Remove markup already in templates like H1, and add formats (classes).
  • Configure Allowed content so classes aren't stripped, set height, etc.
  • CKEditor 4.3+ Widgets -- Widgitizing Widgets by bneil.

Uploading Images in the WYSIWYG

  • What types of files can be uploaded?
  • What thumbnails are created for admin use?
  • Where can they be uploaded?

ckFinder

  • Set Different upload folders per Content Type.
  • Make a Profile Type and Text Format for each Content Type.

IMCE

  • Set Different upload folders per User Role.
  • Can do user/userid or year/month (like Wordpress)

Paragraphs Module

https://www.drupal.org/project/paragraphs

Instead of trying to make the WYSIWYG do everything, you can add different types of fields.

Administrative
Workflows

Scheduler

  • Each content type can be scheduled.
  • Which need to be?
  • Who can?
  • Set up external Cron

Workbench

  • Each content type can have more statuses than Published. Workbench Moderation adds Draft and Needs Review by default, but can add custom ones you create.
  • Workbench Access can restrict access to different sections of the site based on menu or taxonomies.
  • Workbench Media adds integration with either the 1.x or 2.x of the Media Module!

Documentation

Inline

Content Types, Fields, Blocks, Views, Panels, etc all provide places to enter descriptive and instructional text for administrative users

Content Types and fields allow for HTML, (link to…)

Advanced help Module

https://www.drupal.org/project/advanced_help

For custom modules, developers can include HTML files that can be linked to from any ADMIN UI screens the module creates.

Google Docs/Dropbox/Company Intranet

  • Keep a master copy, organized folder, shared with those who will help you maintain.
  • Export PDF for users, shared with appropriately role'd users
  • Authors can access author docs
  • Editors can access author and editor docs
  • Webmasters can access author, editor, and webmaster docs
  • and so on.

Testing and Tweaking

Things change up to the last minute before a launch, and many times after that! Do not get stuck in the habit of just using the developer's administrator role.

  • Use the site early and often as the Webmaster, Editor, and Author.
  • Step through the documentation defined tasks, verify all can be done.
  • Adjust permissions as you go.

How to be another

  • Masquerade Module
  • Create different accounts
    • Gmail Users can use the plus trick
      • jim+webmaster@
      • jim+editor@
      • jim+author@

THE END

Continuing the conversation:

Created by Jim Birch
jimbir.ch/standing-up
@thejimbirch
Xeno Media, Inc.