Setting Up, Customizing Drupal

motherlamentationInternet and Web Development

Dec 7, 2013 (3 years and 9 months ago)

89 views

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com


Lynda.comvideo series

Drupal Essential Training

Drupal 6:Online Presentation of Data

Informational papers

Build a Great Drupal Website...(TNT)

Howto Make an Online Store Look
Great...(TNT)

Building an Enterprise-Class Web Site
with Drupal (Mediacurrent)

Guide to Large-Scale Publishing with
Drupal (Mediacurrent/Phase 2)

Drupal 7:Visual QuickStart Guide
(forthcoming book)
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn

Part 1:Set up

Part 2:The basic basics
~Break ~

Part 3:Make it friendly

Part 4:Add functionality
~Break ~

Part 5:Maintain and protect

Part 6:Bonus stuff
11 takeaways
plus two bonuses
in six segments
(averaging 25
minutes each)
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn
Part 1:Set up
.Setting up Drupal's environment
on a Mac or Windows computer
2.Downloading and installing Drupal

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn
Part 2:The basic basics
.Changing your site's basic
look and feel
.Saying your piece:Creating
and manipulating content

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn
Part 3:Making it friendly
.Controlling users
(so they don't control you)
6.Creating a flexible layout
with blocks

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn
Part 4:Add functionality
7.Enabling and using Drupal's
hidden features
8.Finding and installing great
extensions (“modules”)
9.Five modules you must install
graphic courtesy Kent Bye,kentbye.com
6
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
7
What you’ll learn
Part 5:Maintain and protect
0.Updating and
maintaining your site
.Backing up and moving
your site
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you’ll learn
Part 6:Advanced bonus stuff(if there’s time)
.Roll your own content
types with CCK
.Introduction to complex
data display withViews
8
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
What you won’t learn

General computer skills

*nix (well,not much)

Dealing with an ISP

Server administration

Apache,SQL,or PHP

Design,theming
(but stay for Sheena’s session!)

Site content

SEO,site promotion,
monetization
9
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
0
But first…
The obligatory“What is Drupal”shtick

Builds and runs dynamic web sites

Combines programfiles,site files,and a database

Free,open-source,created (mostly) by volunteers

Started in 2001;Version 7 out Real Soon Now™

Over 250,000 live sites
(drupal.org/project/usage)

Dozens of consultancies;good job outlook
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
1.Setting up Drupal’s environment

“AMP stack”= Apache,MySQL,PHP

The easy way:DAMP
acquia.com/downloads

The hard way

For Mac:MAMP
mamp.info

For Windows:WAMP
wampserver.com

The hardest way:piecemeal

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
2.Downloading,installing Drupal
.Download fromdrupal.org
2.Uncompress
.Move files to desired location
.(Create settings.php)
.Create database
6.Point AMP stack at files
7.Point browser at site
8.Step through installer
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
3.Changing your site’s look and feel

Changing basic information
/admin/settings/site-information

Switching and configuring
themes

Finding other themes

drupal.org/project/themes

themegarden.org

Installing a newtheme

Creating newthemes:
Stick around for Sheena’s talk!

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
4.Creating and changing content

Making a simple“front”page

Editing content

Managing content and
comments in bulk

Pages,stories,and other
content types

Inserting images...sort of

Ahint of things to come:Views

Setting Up,Customizing Drupal
withTomGeller,tomgeller.com

~ Break ~
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
5.Controlling users

Do you even want “users”?

Three basic user roles:

Anonymous

Authenticated

Superuser

User permissions

Alook at profiles
6
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
6.Layout with blocks

Block regions vary by theme

Blocks only showup if they
contain something

Blocks created in three ways:

By Drupal

By modules

By you

Create a block
7
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
7.Enabling Drupal’s hidden features

/admin/build/modules:
Learn it,live it,love it

The most important modules:

Search

Path

Contact

Statistics

Upload

The content modules:
Blog,Book,Forum,Poll,
Aggregator
8
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
8.Finding great modules

Resources:

drupal.org/project/modules

drupalmodules.com

Let’s wander!
9
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
9.Five must-have modules

Pathauto
(drupal.org/project/pathauto)

poormanscron
(.../poormanscron)

Content Construction Kit (CCK)
(.../cck)

Wysiwyg
(.../wysiwyg)

Views
(.../views)

...plus image modules.
20
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
~ Break ~
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
10.Updates and maintenance

Status report:
/admin/reports/status

Available updates:
/admin/reports/updates

Go offline:
/admin/settings/site-maintenance

Back up!

Replace existing files

Run/update.php

Reminder:Check newposts,
comments,users often
22
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
11.Backing up and moving

Consult with your ISP

Moving the files

*nix:mv,cp,ftp...

Mac FTP:cyberduck.ch

Win FTP:winscp.net

Moving the database

Too big?Use BigDump,
ozerov.de/bigdump.php

Edit settings.php

Consult with your ISP
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
12.Content Construction Kit

Go beyond Page and Story

Requires CCK module
(drupal.org/project/cck)

Content types are“templates”
for content

Content type comprises fields
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
13.Views

“Smart query builder”for your
site’s database

Extracts data fromyour site

Mind-bogglingly flexible,
mind-bogglingly complicated

Each viewcontains“displays”

Plug:“Drupal 6:Online
Presentation of Data”from
Lynda.com
2
Setting Up,Customizing Drupal
withTomGeller,tomgeller.com
Thanks for coming!
tom@tomgeller.com