drupal
TRANSCRIPT
![Page 1: Drupal](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/1.jpg)
DRUPAL
Community Plumbing
![Page 2: Drupal](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/2.jpg)
What IS Drupal?
Something between a CMS (content management system) and a CMF (content management framework)
![Page 3: Drupal](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/3.jpg)
Open Source
Drupal is Open Source Free Transparent code Extensible
EXTENSIBLEDon’t modify itDo expand on it
![Page 4: Drupal](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/4.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/13.jpg)
Taxonomy
A method for classifying content Strict categories or free-formed tags
Examples: Recipe categories, Baker’s Corner categories
![Page 14: Drupal](https://reader033.vdocument.in/reader033/viewer/2022060119/558d3cdfd8b42a0b318b45c9/html5/thumbnails/14.jpg)
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