Site Building and Theming for Content Creators


The Presentation inside:

Slide 0

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.


Slide 1

ADMIN MENU, ORGANIZED, BUT STILL SO MANY LINKS!


Slide 2

ANOTHER VIEW, LISTING THEM ALL ON ONE PAGE


Slide 3


Slide 4

THAT KEEPS GOING...


Slide 5

AND GOING...


Slide 6

AND GOING...


Slide 7

AND GOING...


Slide 8

AND GOING...


Slide 9

AND THIS IS A PRETTY SIMPLE SITE!


Slide 10

SAME GOES FOR THE CKEDITOR. SO MANY OPTIONS...


Slide 11

BUT REALLY, ONLY A FEW THINGS ARE TRULY NEEDED.


Slide 12

WHO ARE OUR CONTENT CREATORS?


Slide 13

COMMON ADDITIONAL ROLES: Webmasters Editors Authors CONTENT SPECIFIC ROLES SUCH AS: Bloggers Press Releasers TASK SPECIFIC ROLES SUCH AS: Community Manager


Slide 14

PLANNING & MANAGING DRUPAL PROJECTS BY DANI NORDIN http://www.amazon.com/dp/1449305482/


Slide 15

ONCE WE KNOW WHO, WE CAN START FIGHTING FOR THEM.


Slide 16

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


Slide 17

IN THE UI Turn off (disable) Uninstall (removes database bits) Delete module folder by hand/in git


Slide 18


Slide 19

THEMING THE DRUPAL ADMINISTRATION UI


Slide 20

CHOOSING ADMIN THEMES


Slide 21

ADMINISTRATION THEME OPTIONS Choose a separate admin theme Use your front end theme Develop your own admin theme


Slide 22

BLOCK SYSTEM APPLIES TO ADMIN THEMES TOO!


Slide 23

GLOBAL CHANGES ENABLE ADMIN TOOLBAR, DISABLE OVERLAY drush en -y admin_menu admin_menu_toolbar drush dis -y toolbar shortcut drush dis -y overlay


Slide 24

CONTENT TYPE & TAXONOMY DEFAULTS Title Label Explanation or submission guidelines (Help) Administrative Description Default Publishing State, Revisions Author, Menu, Sitemap, (other modules), etc


Slide 25

PALANTIR.NET BUILD SPEC SPREADSHEET https://www.palantir.net/blog/developing-drupal-sites-plan-or-perish


Slide 26

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


Slide 27

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.


Slide 28

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.


Slide 29

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


Slide 30

FIELD GROUP https://www.drupal.org/project/field_group Add organizing elements to Node Add/Edit, and Node Displays.


Slide 31

FIELD GROUP TYPES Fieldsets Horizontal tabs Vertical tabs Accordions Divs (Good for Grid Systems) HTML elements Lots of modules that extend.


Slide 32

ENVIRONMENT INDICATOR https://www.drupal.org/project/environment_indicator Not just for Developers! Use when clients have access to test & staging servers


Slide 33


Slide 34


Slide 35

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.


Slide 36

THEMING CKEDITOR


Slide 37

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.


Slide 38

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)


Slide 39

PARAGRAPHS MODULE https://www.drupal.org/project/paragraphs Instead of trying to make the WYSIWYG do everything, you can add different types of fields.


Slide 40

ADMINISTRATIVE WORKFLOWS


Slide 41

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


Slide 42

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!


Slide 43

DOCUMENTATION


Slide 44

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…)


Slide 45

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.


Slide 46

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.


Slide 47

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.


Slide 48

HOW TO BE ANOTHER Masquerade Module Create different accounts Gmail Users can use the plus trick [email protected] [email protected] [email protected]


Slide 49

THE END CONTINUING THE CONVERSATION: Created by Jim Birch jimbir.ch/standing-up @thejimbirch Xeno Media, Inc.


Slide 50


×

HTML:





Ссылка: