Introduction to Drupal


Published on

Lecture 2 - Introduction to Drupal for Design and Authoring III at Algonquin College.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • At the base of the system is the collection of nodes—the data pool. Before anything can be displayed on the site, it must be input as data.The next layer up is where modules live. Modules are functional plugins that are either part of the Drupal core (they ship with Drupal) or they are contributed items that have been created by members of the Drupal community. Modules build on Drupal's core functionality, allowing you to customize the data items (fields) on your node types; set up e-commerce; programmatically sorting and display of content (custom output controlled by filters you define); and more. There are thousands of different options within the fast-growing repository of contributed Drupal modules. They represent the innovation and collaborative effort of everyone from individuals to large corporations.At the next layer, we find blocks and menus. Blocks often provide the output from a module or can be created to display whatever you want, and then can be placed in various spots in your template (theme) layout. Blocks can be configured to output in various ways, as well as only showing on certain defined pages, or only for certain defined users.Next are user permissions. This is where settings are configured to determine what different kinds of users are allow to do and see. Permissions are defined for various roles, and in turn, users are assigned to these roles in order to grant them the defined permissions.On the top layer is the site theme (the "skin"). This is made up predominantly of XHTML and CSS, with some PHP variables intermixed, so Drupal-generated content can go in the appropriate spots. Also included with each theme is a set of functions that can be used to override standard functions in the modules in order to provide complete control over how the modules generate their markup at output time. Templates can also be assigned on-the-fly based on user permissions.
  • Introduction to Drupal

    1. 1. introtodrupal Week 2 - MTM4081
    2. 2. Week 1 Review week1review• Christopher Smith, chief executive at OPIN, • Presentation mark will be calculated based a company which provides software and on your top 6 presentations. solutions to governments. • Presentations are graded based on• Course will discuss topics including content engagement, content, and clarity. management systems, web standards • Written assignments are graded based on including W3C HTML, Web Content content and examples. Accessibility Guidelines, and Common Look and Feel.• Lectures will be 4 hours. Industry guest • This course should resemble a speaker. Lesson for the day. Group work conversation more than a lesson. and presentations.• Marking scheme is broken down into three parts. Group presentations are 40%. Individual written assignments are 40%. Term project is 20%. (987) 124-5678 98 East Street, New York, NY 12345
    3. 3. Week 1 Review cmsreviewContent Management Systems (CMS) have changed the way organizationsmanage their websites. We no longer depend on low-level programmers tomaintain our Internet presence.What is it? Why do we use it?“Content management system” has become How have content management systemsone of the most popular terms in information changed the way we manage our website?management. So, what is it? Why do we use a CMS?Who’s using it? Popular systems?Content management systems have picked up There are many variations of contentpopularity in almost every industry. What management systems available today. Canindustries could benefit the most? you name three? (613) 851-7102 126 York Street, Office 300, Ottawa
    4. 4. Guest Speakerandrewsinkinson About Andrew Sinkinson is the chief of web and dissemination at Statistics Canada. Department Statistics Canada produces statistics that help Canadians better understand their country – its population, resources, economy, society, and culture. Website (987) 124-5678 98 East Street, New York, NY 12345
    5. 5. intermission
    6. 6. Week 2 Drupal7 Content Management System Many people call Drupal a content management system because it can store and display content for websites. Content Management Framework Drupal is more closely described as a content management framework. It is an empty canvas that can be configured to meet any information management (987) 124-5678 98 East Street, New York, NY 12345
    7. 7. Week 2 cmsdataWhen comparing the top 10,000 content management sites world-wide, we seethat Wordpress and Drupal have much higher adoption rates than competitors. No. Content Management System % site 1 Wordpress 6.15 2 Drupal 2.48 3 vBulletin 0.87 4 ExpressionEngine 0.48 5 Joomla! 0.38 6 Adobe Scene 7 0.3 (987) 124-5678 98 East Street, New York, NY 12345
    8. 8. Week 2 drupalappliedDrupal can be easily configured to meet many different requirements that extendbeyond the typical content management system.Community Websites Government www.whitehouse.govBusiness magazine discussing innovation in The official website of the White House. Readtechnology, ethical economics, leadership, and press releases and watch Networks Business www.opin.caSocial blogging platform that allows writers to A platform for employees to share ideas,contribute and connect. discuss, and vote. (987) 124-5678 98 East Street, New York, NY 12345
    9. 9. Week 2gettingtechnical Programming Language PHP Web Server Apache, IIS, Nginx Database MySQL Licensing Open source (GPL) Project Status 754,234 contributors worldwide (987) 124-5678 98 East Street, New York, NY 12345
    10. 10. Week 2systemflow Layers 1. Data 2. Modules 3. Blocks and Menus 4. User Permissions 5. (987) 124-5678 98 East Street, New York, NY 12345
    11. 11. Week 2 modules Core (required) A set of modules required for the base 15% functionality in Drupal. Core (optional) Frequently used modules so they are 25% included in the base distribution. 70% Contributed Modules created by contributors that have been shared with the community.Core (required) Core (optional) Contributed (987) 124-5678 98 East Street, New York, NY 12345
    12. 12. Week 2 documentationThere are thousands of websites devoted to Drupal. Most problems you mayencounter have been solved and documented Drupal Variant http://tbs-sct.ircan-The office Drupal website. You can download, read documentation, and download The Government of Canada Drupal community.modules.Drupal Modules The Drupal Cookbook you read about and download Drupal utorials/beginners-cookbookmodules. Documentation for Drupal beginners. (987) 124-5678 98 East Street, New York, NY 12345
    13. 13. Week 2 onlinelab• Login to Drupal • People, Permissions, Roles• Creating and Managing Content • Modules• Blocks • Configuration• Menus • Reports• Appearance, Templates (987) 124-5678 98 East Street, New York, NY 12345
    14. 14. intermission
    15. 15. Week 2 groupwork Teams of 3. Assignment should take 1 hour followed by presentations.Content Type Create Content Create Page Create MenuStructure Structure Content StructureCreate a new content type to Create some example data Create the “About” page for Create a new menu with astore information . using your new content type. your new website. link to your “About” page.You can choose any type of The created data should What is the purpose of your New menus are created asinformation you want to store. appear on your home page. new website? “Blocks”.Examples: Songs, Movies, Enable your new menu byBooks, Ideas dragging it into the left or right sidebar.Publish content to front page. (987) 124-5678 98 East Street, New York, NY 12345
    16. 16. intermission
    17. 17. Week 2 presentations1. Group 82. Group 63. Group 54. Group 15. Group 36. Group 77. Group 28. Group 4 (987) 124-5678 98 East Street, New York, NY 12345