Upload
emma-jane-hogbin
View
2.049
Download
1
Embed Size (px)
Citation preview
Drupal Flyover(There’s a Module for That)
Emma Jane HogbinAuthor, Drupal User's Guide
I am IAM
SorryA boot
eh?
Drupaldrupal.org/user/1773
Photo: morten.dkLegs: walkah
</me>
Drupal Flyover
Drupal's Learning Cliff
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.
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.
http://www.flickr.com/photos/22746515@N02/2951202881/
Who else hasa site like this?
Typical (microsite) Deployment
● Use a common code base with an install profile
● Import content● Apply a theme● Create lists of content
(“navigation”)● Launch
http://www.flickr.com/photos/25299470@N00/3642425935/
Bam! Web site.
http://www.flickr.com/photos/38284047@N00/71034227/
Who? Why? What?
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.
Inspecting Drupal
Projects
● Modules: Core, Contributed, Custom● Install Profiles● Themes
On a scale of 1 to 7...
● Functionality● Content / storage● People / roles / permissions● Workflow● Display
A few of my favourite things
● Multisite● Features + Exportables● Install profiles● Entities + Fields● Views● Image resizing● Drush
http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2010/11/29/DDC31GAPSK.DTL
Multi site
Features + Exportables
http://www.flickr.com/photos/sebbisuperstar/2470560831
Install Profile
http://www.flickr.com/photos/22801406@N06/2211020136/
Entities + Fields
http://www.flickr.com/photos/66742614@N00/2542654995/
Views
http://www.flickr.com/photos/73645804@N00/3597214700/
Image Resizing
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]
Collect Useful Modules
Must-Have Modules by Category
● Everyone Must-Have● SEO● Ecommerce & Marketing● Administrative helpers● Access Control● Navigation / UI● Visual Awesome Sauce
Modules for Everyone
● Mollom, Comment Closer, Comment Mail● Markdown, CKEditor, WYSIWYG● Views● Link, Email, Date, Location, References, Field Group● Media● Webform● Backup and Migrate● D6: Image Cache, ImageField, Imagefield Import● D6: CCK, emfield, filefield
Modules for SEO
● SEO Checklist, SEO Friend
● Page Title (and Token)● Node Words● Breadcrumb fixer-
uppers● XML Site Map, Index
Page, URL List
● Pathauto, Token● Global Redirect● Path Redirect● RobotsTxt● Search 404● Link Checker
Modules for Ecommerce & Marketing
● D6: Ubercart● uc_coupon● uc_free_order● uc_views● uc_who_bought_what● FusionDrupalThemes
case study http://drupal.org/node/858914
● D7: Commerce● Mailchimp, Constant
Contact (etc)● Mass Contact● Simple News, mimemail● Google Analytics, Piwik
Admin Helpers
● Views Bulk Operation● Features● Scheduler● Rules● Notifications● Migrate● Devel and Devel
Themer
● Flag● Masquerade● Abuse, Plus1, VotingAPI● D6: Total Control● D7: Workbench● Domain Access
Access Control
● ACL● Forum Access● Content Access● Taxonomy Access
Control● Field Permissions
● Organic Groups● Advanced Forum● Workbench
Modules for (better) Navigation
● Menu Breadcrumb● Taxonomy Breadcrumb● Custom Breadcrumbs● Menu Block
● Superfish● Nice Menus
Visual Awesome Sauce
● Views Slideshow● Typekit● Tabs, Vertical Tabs● Lightbox 2, Colorbox● D6: CCK Fieldgroup
Tabs
● Panels, Context or Display Suite
● Nodes in Block, Node as Block
● Skinr v2● Base themes (Zen,
Fusion, etc)
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.