Setting Up, Customizing Drupal

Transcription

Setting Up, Customizing Drupal
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
I
Lynda.com video series
I
I
I
Informational papers
I
I
I
I
I
Drupal Essential Training
Drupal 6: Online Presentation of Data
Build a Great Drupal Website... (TNT)
How to 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)
2
What you’ll learn
11 takeaways
I
Part 1: Set up
I
Part 2: The basic basics
plus two bonuses
in six segments
~ Break ~
I
Part 3: Make it friendly
I
Part 4: Add functionality
~ Break ~
(averaging 25
minutes each)
I
Part 5: Maintain and protect
I
Part 6: Bonus stuff
Setting Up, Customizing Drupal
with Tom Geller, 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
with Tom Geller, 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
with Tom Geller, 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
with Tom Geller, tomgeller.com
6
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
Setting Up, Customizing Drupal
with Tom Geller, 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
with Tom Geller, tomgeller.com
8
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 with Views
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
9
What you won’t learn
I
General computer skills
I
*nix (well, not much)
I
Dealing with an ISP
I
Server administration
I
Apache, SQL, or PHP
I
I
I
Design, theming
(but stay for Sheena’s session!)
Site content
SEO, site promotion,
monetization
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
0
But first…
The obligatory “What is Drupal” shtick
I
Builds and runs dynamic web sites
I
Combines program files, site files, and a database
I
Free, open-source, created (mostly) by volunteers
I
Started in 2001; Version 7 out Real Soon Now™
I
Over 250,000 live sites (drupal.org/project/usage)
I
Dozens of consultancies; good job outlook
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
1. Setting up Drupal’s environment
I
I
I
I
“AMP stack” = Apache, MySQL, PHP
The easy way: DAMP
acquia.com/downloads
The hard way
I For Mac: MAMP
mamp.info
I For Windows: WAMP
wampserver.com
The hardest way: piecemeal
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
2
2. Downloading, installing Drupal
. Download from drupal.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
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
3. Changing your site’s look and feel
I
Changing basic information
/admin/settings/site-information
I
I
I
I
Switching and configuring
themes
Finding other themes
I drupal.org/project/themes
I themegarden.org
Installing a new theme
Creating new themes:
Stick around for Sheena’s talk!
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
4. Creating and changing content
I
Making a simple “front” page
I
Editing content
I
I
Managing content and
comments in bulk
Pages, stories, and other
content types
I
Inserting images... sort of
I
A hint of things to come: Views
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
~ Break ~
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
6
5. Controlling users
I
I
Do you even want “users”?
Three basic user roles:
I Anonymous
I Authenticated
I Superuser
I
User permissions
I
A look at profiles
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
7
6. Layout with blocks
I
I
I
I
Block regions vary by theme
Blocks only show up if they
contain something
Blocks created in three ways:
I By Drupal
I By modules
I By you
Create a block
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
8
7. Enabling Drupal’s hidden features
I
I
I
/admin/build/modules:
Learn it, live it, love it
The most important modules:
I Search
I Path
I Contact
I Statistics
I Upload
The content modules:
Blog, Book, Forum, Poll,
Aggregator
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
9
8. Finding great modules
I
I
Resources:
I drupal.org/project/modules
I drupalmodules.com
Let’s wander!
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
20
9. Five must-have modules
I
I
I
I
I
I
Pathauto
(drupal.org/project/pathauto)
poormanscron
(.../poormanscron)
Content Construction Kit (CCK)
(.../cck)
Wysiwyg
(.../wysiwyg)
Views
(.../views)
...plus image modules.
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
2
~ Break ~
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
22
10. Updates and maintenance
I
I
I
Status report:
/admin/reports/status
Available updates:
/admin/reports/updates
Go offline:
/admin/settings/site-maintenance
I
Back up!
I
Replace existing files
I
Run /update.php
I
Reminder: Check new posts,
comments, users often
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
2
11. Backing up and moving
I
I
I
Consult with your ISP
Moving the files
I *nix: mv, cp, ftp...
I Mac FTP: cyberduck.ch
I Win FTP: winscp.net
Moving the database
I Too big? Use BigDump,
ozerov.de/bigdump.php
I
Edit settings.php
I
Consult with your ISP
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
2
12. Content Construction Kit
I
I
I
I
Go beyond Page and Story
Requires CCK module
(drupal.org/project/cck)
Content types are “templates”
for content
Content type comprises fields
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
2
13. Views
I
I
I
I
I
“Smart query builder” for your
site’s database
Extracts data from your site
Mind-bogglingly flexible,
mind-bogglingly complicated
Each view contains “displays”
Plug: “Drupal 6: Online
Presentation of Data” from
Lynda.com
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
Setting Up, Customizing Drupal
with Tom Geller, tomgeller.com
Thanks for coming!
[email protected]

Similar documents

Onalytica - Virtual Reality - Top 100 Influencers and Brands

Onalytica - Virtual Reality - Top 100 Influencers and Brands These calculations are independent of a user's number of followers, but we do filter our lists based on how much a user is engaged in the conversation. If you want to learn more, read our article t...

More information

Open Source Content Management Systeme Das Beispiel

Open Source Content Management Systeme Das Beispiel ƒ Trennung von Inhalt und Darstellung (Layout) ƒ CMS haben rollenbasiertes Rechtesystem (Verwaltung von Benutzer- & Zugriffsrechten) ƒ Frontend (User) & Backend (Administrator) ƒ CMS sind (mit Modu...

More information