14
DRUPAL Community Plumbing

Drupal

Embed Size (px)

Citation preview

Page 1: Drupal

DRUPAL

Community Plumbing

Page 2: Drupal

What IS Drupal?

Something between a CMS (content management system) and a CMF (content management framework)

Page 3: Drupal

Open Source

Drupal is Open Source Free Transparent code Extensible

EXTENSIBLEDon’t modify itDo expand on it

Page 4: Drupal

Structure of a Drupal Site

PHP Code in the form of Modules Modules:

Core: essential to Drupal Ex: search, menu, filter

Contributed: add-ons / features Ex: WYSIWYG, CAPTCHA, webform

Custom: hand-written modules Cancel_link, UBake

Page 5: Drupal

Data

Almost all data is stored in the database as a “Node.”

Create content types that expand on the node’s core functionality Examples: page, recipe, clinic, doctor

Page 6: Drupal

Display

A “Theme” is a way we present data No different from a PowerPoint theme

Allows us to present the same data, but with a different look and feel

Page 7: Drupal

Regions and Blocks

Region: a section of a page where we can display data. Ex: header, footer, content bottom

Block: a piece of content that gets placed in a block. Ex: newsletter signup, extra footer links

Page 8: Drupal

How Does it Work??

If there aren’t really folders and pages… how does any of it really work? .htaccess – redirects ALL traffic to your

website back to the index.php Drupal uses the rest of the path, such as

“/recipes/appleton/category/For-the-Home/” to determine which content to serve.

Site.com/a/b/c/d is REALLY the same as:Site.com/index.php?q=/a/b/c/d

Page 9: Drupal

Acquia

Acquia is a souped up version of Drupal Core Drupal Core Additional Themes Commonly Used Contributed Modules www.acquia.org

Lems-Acquia is a souped up version of Acquia, with a bit more of everything.

Page 10: Drupal

CCK – Content Construction Kit

Allows to expand Nodes into more advanced content types with varying attributes.

Gives us fields for addresses, links, dates, checkboxes, and even references to other nodes

Page 11: Drupal

Pathauto

Lets us generate URLs for our nodes based on “Tokens.”

For example, we can put all our Newborn content at /newborns/[baby’s-name] while our doctors are at /staff/[doctor’s-name]

Page 12: Drupal

WYSIWYG

Lets users create/edit pages with a more familiar WYSIWYG editor rather than using raw html

*MANY* WYSIWYG editors to choose from

Page 13: Drupal

Taxonomy

A method for classifying content Strict categories or free-formed tags

Examples: Recipe categories, Baker’s Corner categories

Page 14: Drupal

Views

Create customized lists and queries of our nodes from the databaseExamples:

- list of recipes by category- list of medical providers that meet

certain criteria