drupal concepts
TRANSCRIPT
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 1/49
Concepts
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 2/49
Node
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 3/49
Nodes can be any content type
Product
News Event Blog
Profile Analysis
Movie
Report
Director
........
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 4/49
The Node
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 5/49
Node Fields
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 6/49
A Node
A Node
A Node
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 7/49
Many Nodes
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 8/49
Block
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 9/49
Blocks
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 10/49
Can be positioned
through configuration
(or Contexts or Panels)
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 11/49
Header
Footer
Left Right
Content
Regions
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 12/49
Lots of regions
out of the box
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 13/49
????
Custom Regions
Can Be Added
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 14/49
Theme
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 15/49
Layout provided bythemes
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 16/49
Use Drupal Themes Included
Download Themes Fromdrupal.org
Or Build Your
Own Theme
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 17/49
Design can also be
provided by Panels
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 18/49
Taxonomy
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 19/49
by Habitat
Water Land, Air
Land, Air Land
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 20/49
Fixed Vocabulary
Vocabulary:
•Habitat
Terms:
•Air
•Land
• Water
Terms are pre-defined
by site maintainers
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 21/49
Fixed VocabularyVocabulary:•Habitat
Terms:•Air
•Land
-Tropical
-Polar
• Water
-Shallows
-Deep
Terms can have multiple levels
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 22/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 23/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 24/49
User Entered Terms• Those that belong to the Emperor
• Embalmed ones
• Those that are trained
• Suckling pigs
• Mermaids
• Fabulous ones
• Stray dogs
• Those included in the present classification
• Those that tremble as if they were mad
• Innumerable ones
• Those drawn with a very fine camelhair brush
• Others
• Those that have just broken a flower vase
• Those that from a long way off look like flies
From Borges fictional Chinese Encyclopaedia "Celestial Emporium of Benevolent Knowledge"
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 25/49
Free Tagging
or FolksonomUsers add tags (terms) to content as it
is being created or edited.
Autocomplete is used to suggest
existing terms, to try to create
common classification.
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 26/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 27/49
Click on ‘Polar’ to see all
content tagged with that term.
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 28/49
Click on ‘Polar’ to see all
content tagged with that term.
Term title & description
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 29/49
Menu
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 30/49
Primary Menu
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 31/49
Links added throughconfiguration
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 32/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 33/49
Primary Menu
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 34/49
Questions
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 35/49
Content Structure
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 36/49
Content Structure
• Entity
• Bundle
• Field
•Widget
• Formatter
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 37/49
Entity
• An abstraction of a data type
• e.g. node, user, comment
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 38/49
drupal.org/project/entity
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 39/49
Bundle
• A group of fields
• An instance of an Entity
•e.g. Story (node) content type
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 40/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 41/49
Field
• Available for various types of data
• e.g. numeric, text, boolean, image, file
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 42/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 43/49
Widget
• Controls how field is presented fordata input
• e.g. text field, select list, radio buttons
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 44/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 45/49
Formatter
• A formatter controls how a field ispresented for data display
• e.g. plain text, trimmed, image size, as link
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 46/49
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 47/49
Token
• Place holder tokens filled in by Drupal
• e.g. [node:author]
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 48/49
drupal.org/project/token
7/29/2019 Drupal Concepts
http://slidepdf.com/reader/full/drupal-concepts 49/49
Image Credits
• by Puliarf
• by EDD07
• by Strange Ones
• Christina Spicuzza