There’s a Module for ThatFast and Easy Websites with Drupal
Emma Jane HogbinHICK Tech@[email protected]
I am IAM
SorryA boot
eh?
www.bar5.com
Know your cattle
Know your pumpkin
photo credit: calliope
How we chuck 'em
How you chuck 'em
Jack o lantern: 2040 feet
Drupaldrupal.org/user/1773
Photo: morten.dkLegs: walkah
</me>
Scenario
http://www.flickr.com/photos/35237098471@N01/28726053/
http://www.flickr.com/photos/13380295@N08/2607310371/
http://www.flickr.com/photos/22221172@N00/1215596106/
It’s Wednesday. You’re sort of tired. The phone rings.
http://www.flickr.com/photos/22746515@N02/2951202881/
It's better than Farmville.
I need a Web site. Pronto.My buddy said you can make it happen.I got $500.
And you’re like … “Sure.”
Drupal Developer heyrocker.
Fast and Easy with Drupal
Topics● Creating ideal conditions● Multisite Drupal● Drush● Must-Have Modules● Dev Staging Deploy→ →● New site ready in 30 minutes
or it’s free.http://www.flickr.com/photos/25299470@N00/3642425935/
Create the Conditions You Need
For Success
http://www.flickr.com/photos/38284047@N00/71034227/
www.bar5.com
Know your clients
Successful Drupal Shops...● Re-use code (and contribute it back where possible).● Automate repetitive procedures (such as upgrades).● Have a test/development site.● Train their clients on how to update their own sites.● Use version control.● Know a key set modules really, really well.● Interact with the Drupal community.
Drupal is Built with Re-use in Mind
http://www.flickr.com/photos/91695677@N00/3227109747/
Features of Multisite
● Shared code base● Shared IP address● Shared modules directory● Unique content in separate databases● Unique directory for uploaded files● Unique themes
Automate Tasks
http://www.flickr.com/photos/thehenryford/4974233749/
Automate Tasks
Want to clone sheep websites?Check out Aegir.
http://groups.drupal.org/hostmaster2
`
Find and use appropriate tools.
http://www.flickr.com/photos/26170836@N05/4731018653/
Important Drush Commands$ drush command
Basics● help● status● cache-clear
Site Upgrades● updatedb● site-install● site-upgrade
Modules/Themes● pm-download● pm-enable
Users● user-add-role● user-create● user-cancel
Drush wants to help youDrush wants to help you(apply security patches).(apply security patches).
http://www.flickr.com/photos/59158146@N00/2339618314/
Collect Useful Modules
Must-Have Modules by Category
● Everyone Must-Have● SEO● Ecommerce & Marketing● Administrative helpers● Navigation / UI● Visual Awesome Sauce
Get your digital cameras ready
50+ modules
will be listed.
And I’m not waiting for you to write them all down.www.slideshare.net/emmajane
http://www.flickr.com/photos/10101046@N06/3452774704/
Ready?
Modules for Everyone
● Mollom, Comment Closer, Comment Mail, Feedburner
● Markdown, FCKEditor, TinyMCE, WYSIWYG● Views, CCK, emfield, filefield, Link, Email● Image Cache, ImageField, Imagefield Import● Backup and Migrate
Modules for SEO
● SEO Checklist, SEO Friend
● Page Title (and Token)● Node Words● Breadcrumb fixer-
uppers● XML Site Map, Index
Page, URL List
● Pathauto● Global Redirect● Path Redirect● RobotsTxt● Search 404● Link Checker
Modules for Ecommerce & Marketing
● Ubercart● uc_coupon● uc_free_order● uc_views● uc_who_bought_what● FusionDrupalThemes
case study http://drupal.org/node/858914
● Mailchimp, Constant Contact (etc)
● Mass Contact● Simple News, mimemail● Google Analytics, Piwik
Admin Helpers
● Views Bulk Operation● Total Control● Features● Scheduler● Devel and Devel
Themer
● Administration Menu● Admin Role● RootCandy (theme)● Admin (module/theme)● Admin Links, Universal
Edit Button (FF plugin)
Modules for (better) Navigation
● Menu Breadcrumb● Taxonomy Breadcrumb● Custom Breadcrumbs● Menu Block
Visual Awesome Sauce
● Views Slideshow● Typekit● Nice Menus● Tabs, CCK Fieldgroup
Tabs
● Panels, Context or Display Suite
● Skinr v2● Fusion themes
http://www.flickr.com/photos/70099148@N00/145270356/
Where do they go?
Installing [Modules] with Drush
$ cd drupal/sites/example.com
$ drush dl module_nameProject menu_block (6.x-2.3) downloaded to [success]/home/emmajane/websites/drupal/sites/all/modules/menu_block.
$ drush en module_nameThe following projects will be enabled: menu_blockDo you really want to continue? (y/n): ymenu_block was enabled successfully. [ok]
Dev Staging Deployment→ →Dev Staging Deployment→ →
http://www.flickr.com/photos/88448902@N00/457428714/
Find and Use Appropriate Tools
Three Drupal bacon savers:● Install profiles.● Feature server.● Exportables.
Photo by: chrys. All rights reserved. Permission not obtained. I'm going to copyright hell.You can rat me out at: http://www.flickr.com/photos/chrys/2329243533/#/
Install Profile
http://www.flickr.com/photos/22801406@N06/2211020136/
Feature Server
http://www.flickr.com/photos/71018547@N00/3547111423/
Feature server with cherries on top.
http://www.flickr.com/photos/27577455@N05/4465238124/
Exportables
http://www.flickr.com/photos/sebbisuperstar/2470560831
Sanity Tips for Dev Deploy→
● Version control everything you can.● Export what’s in the database and put it under version
control. CCK, Views, Panels● Use helper modules to stage changes: Features, Deploy.● Create db snapshots with Backup and Migrate.● Create sandboxes with Demo (or WebEnabled).● Test themes with real data before launching changes.● Document everything.
SummaryNow that you have your Drupal toolkit you can build that $500 Web site in 30 minutes:
1. Choose an Install Profile based on client needs.
2. Create a new sub-dir in your Drupal sites folder.
3.With Drush:
1. Install the new site.
2. Enable relevant modules and/or features.
3. Choose and enable “contributed” theme.
4. Create a client account so they can add content.
Total time: About 30 minutes.