one man band - drupal lightning talks

48
ONE MAN BAND DRUPAL LIGHTNING TALKS Presented by Mark W. Jarrell April 28, 2012 DrupalCamp Nashville mark@fleetthought.com Twitter/Drupal: attheshow

Upload: mark-jarrell

Post on 08-May-2015

2.337 views

Category:

Technology


1 download

DESCRIPTION

From DrupalCamp Nashville 2012

TRANSCRIPT

Page 1: One Man Band - Drupal Lightning Talks

ONE MAN BAND DRUPAL LIGHTNING

TALKS

Presented by Mark W. Jarrell April 28, 2012 DrupalCamp Nashville

[email protected] Twitter/Drupal: attheshow

Page 2: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT

VIEWS

#1

Page 3: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

http://drupal.org/project/views

Views can display nearly any field data or other information about your nodes e.g., images, post date, user who created the node, node id #, etc.

#1

Page 4: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

2 Modules: Views and Views UI. You need both.

Also need Module called CTools:http://drupal.org/project/ctools

#1

Page 5: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 6: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 7: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 8: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 9: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 10: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 11: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 12: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 13: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 14: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 15: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 16: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

#1

Page 17: One Man Band - Drupal Lightning Talks

BUILDING LISTS OF CONTENT THAT YOU'VE ADDED (VIEWS)

More on Views UI and Building Views:http://drupal.org/documentation/modules/viewshttp://drupalize.me/videos/overview-views-user-interface

#1

Page 18: One Man Band - Drupal Lightning Talks

AUTHENTICATING USERS FROM

OUTSIDE SYSTEMS ACTIVE DIRECTORY & LDAP

#2

Page 19: One Man Band - Drupal Lightning Talks

AUTHENTICATING USERS (ACTIVE DIRECTORY & LDAP)

Use case: You already have another identity system in place for your organization

You want users to be able to log in with their existing usernames/passwords

Example: APSU students are in a Sun LDAP. Faculty/Staff are in AD.

#2

Page 20: One Man Band - Drupal Lightning Talks

AUTHENTICATING USERS (ACTIVE DIRECTORY & LDAP)

LDAP Module for Drupal 7: http://drupal.org/project/ldap

Drupal 6: http://drupal.org/project/ldap_integration

#2

Consists of multiple modules and steps. Basically:

Tell Drupal about your LDAP server(s) & how user accts. look there

Decide what happens in the Drupal user record when a person tries to log in

Have it automatically add some roles to the Drupal user acct. if you like

Page 21: One Man Band - Drupal Lightning Talks

#2

Page 22: One Man Band - Drupal Lightning Talks

#2

Page 23: One Man Band - Drupal Lightning Talks

AUTHENTICATING USERS (ACTIVE DIRECTORY & LDAP)

#2

Automatically assign Drupal roles to people based on LDAP/AD group

You can also have the LDAP module create new Drupal roles for you from the source system

Page 24: One Man Band - Drupal Lightning Talks

A QUICK INTERNAL COMMUNICATION

SITE OPEN ATRIUM

#3

Page 25: One Man Band - Drupal Lightning Talks

INTERNAL COMMUNICATION SITE (OPEN ATRIUM)

Free to download and install. http://openatrium.com

Great for internal teams

Includes features below, but you can always add your own

#3

Page 26: One Man Band - Drupal Lightning Talks

INTERNAL COMMUNICATION SITE (OPEN ATRIUM)

Single most important feature: Content is created and shared inside of groups

Each group can be public/private, open/closed

Make groups however you like... according to your organizational structure

#3

Page 27: One Man Band - Drupal Lightning Talks

INTERNAL COMMUNICATION SITE (OPEN ATRIUM)

#3

Best Features: Case Tracker - Track your progress on individual issues within a project (or multiple projects)

Filter list to show cases you want to see (ones assigned to you, due today, etc.)

Page 28: One Man Band - Drupal Lightning Talks

INTERNAL COMMUNICATION SITE (OPEN ATRIUM)

Best Features: Notebook - A wiki area for your group

Documentation you want to keep secret can be stored here w/in group

#3

Shoutbox - Mini version of Twitter

Quick messages to your team

Page 29: One Man Band - Drupal Lightning Talks

INTERNAL COMMUNICATION SITE (OPEN ATRIUM)

#3

You can add in same LDAP integration I just mentioned

OA is currently on D6 so you’ll need the D6 version of the module (ldap_integration)

Page 30: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA

BACKUP & MIGRATE

#4

Page 31: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Backup and Migrate: http://drupal.org/project/backup_migrate

Backup and Migrate Files: http://drupal.org/project/backup_migrate_files

For Amazon S3 backups: http://bit.ly/s3class (Goes in backup_migrate/includes)

Page 32: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Either on-demand (quick) or scheduled backups (on cron) Let’s focus on scheduled.

Destinations (actually includes both sources and destinations)Many possibilities here.Let’s focus on backing up the database to the local webserver.

Adding a new schedule

Page 33: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Want to back it up to Amazon S3?

Create an account w/ them. Create a “bucket”. (Note: Use lowercase!)

Also grab your “security credentials”. (Two codes you’ll need for B&M.)

Page 34: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Next, for S3, on the Drupal site add a “destination” of type “Amazon S3 bucket”. Just enter in the name of the bucket & security credentials.

Note: A number of handy destinations are added by default by B&M module.

Page 35: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Set up a schedule (just like previous example) but have it send the backup to the S3 destination you just created (instead of the local webserver)

Also, you can send the Drupal “files” directory over there by adding an additional schedule and using the built-in “Public Files Directory” destination Note: Must have the B&M Files module installed to do this.

Page 36: One Man Band - Drupal Lightning Talks

BACKING UP YOUR DATA (BACKUP & MIGRATE)

#4

Go ahead and run cron to make sure data makes it over to S3 correctly.

Page 37: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT DURING

SITE BUILDING DEVEL GENERATE

#5

Page 38: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT (DEVEL GENERATE)

#5

Devel Generate is included w/ the Devel module: http://drupal.org/project/devel

Great if you’re trying to see what your finished site is going to look like once the content is in place.

Page 39: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT (DEVEL GENERATE)

#5

Lorem-ipsum style text. Images too if you have image fields in your nodes!

Page 40: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT (DEVEL GENERATE)

#530 SECOND DEMO!

Page 41: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT (DEVEL GENERATE)

#5

Simply fills in dummy data whatever fields you’ve created in your content type.

Example: Add a new “Product” node type, add a “price” field that accepts 3-digit numbers and it’ll fill in some dummy 3-digit numbers for you.

Page 42: One Man Band - Drupal Lightning Talks

ADDING DUMMY CONTENT (DEVEL GENERATE)

#5

Generate nodes, comments, users, taxonomy, and menu links if you need to.

Page 43: One Man Band - Drupal Lightning Talks

MODULE POTPOURRI SHAMELESS

SELF-PROMOTION

#6

Page 44: One Man Band - Drupal Lightning Talks

MODULE POTPOURRI (SHAMELESS SELF-PROMOTION)Text Resize: http://drupal.org/project/text_resize

jQuery-based user block that allows site visitors to resize text in a designated area of the page

#6

Page 45: One Man Band - Drupal Lightning Talks

MODULE POTPOURRI (SHAMELESS SELF-PROMOTION)Quotations: http://drupal.org/project/quotations

Show customer quotations on your site quickly and easily. Includes images and styles pre-configured & ready to use.

#6

Page 46: One Man Band - Drupal Lightning Talks

MODULE POTPOURRI (SHAMELESS SELF-PROMOTION)Multiselect: http://drupal.org/project/multiselect

A field editing widget. Lets people select items in a left-hand field and see them move into the right-hand field.

Recently featured in a Lullabot “Module Monday” article! http://bit.ly/GX2JgW

#6

Page 47: One Man Band - Drupal Lightning Talks

MODULE POTPOURRI (SHAMELESS SELF-PROMOTION)Urban Airship: http://drupal.org/project/urban_airship

Using Drupal as a backend for a mobile app? Want to send phone messages (push notifications) to those people that have the app installed?

#6

Page 48: One Man Band - Drupal Lightning Talks

QUESTIONS?

Consulting

Site building

Migrating a legacy system to Drupal

Module development

Theming

Training #[email protected]

!Twitter/Drupal: attheshow

Photo from: http://www.flickr.com/photos/zanotti/3635804568/