An Introduction to Drupal


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

An Introduction to Drupal

  1. 1. An Introduction to Drupal An overview of the architecture, features and basic site-building workflow of the CMS. By Vipulika Sharma
  2. 2. What is Drupal? <ul><li>Open Source software written in php. </li></ul><ul><li>A CMS or content-management system. </li></ul><ul><li>A sophisticated web application building tool. </li></ul>
  3. 3. System Requirements <ul><li>WebServer: </li></ul><ul><li>• Apache: Drupal will work on Apache 1.3 or Apache 2.x hosted on UNIX/Linux, OS X or Windows. </li></ul><ul><li>• Microsoft IIS: Drupal core will work using IIS 5, IIS 6, or IIS 7. </li></ul><ul><li>Database: </li></ul><ul><li>• MySQL: Drupal 6 supports MySQL 4.1 or higher. Recommended by </li></ul><ul><li>PHP: </li></ul><ul><li>• Recommended: PHP 5.2.x </li></ul>
  4. 4. Drupal Structure <ul><li>Drupal is a database-driven (‘dynamic’) application. It requires a database. </li></ul><ul><li>Drupal has a core filesystem whose functionality can be extended using modules and themes. </li></ul><ul><li>Although Drupal offers a sophisticated programming interface for developers, no programming skills are required for basic website installation and administration </li></ul>
  5. 5. Modules <ul><li>Packages of files in a directory that you upload into drupal’s module space (/sites/all/modules) </li></ul><ul><li>Add functionality to drupal </li></ul><ul><li>‘ Core’ Modules come shipped with drupal </li></ul><ul><li>‘ Contributed’ Modules are downloads from </li></ul>
  6. 6. Themes <ul><li>Packages of files in a directory that you upload into drupal’s theme space (/sites/all/themes) </li></ul><ul><li>Themes adjust the site layout and style. Like ‘skinning’ your media player. </li></ul><ul><li>‘ Contributed’ Themes are downloads from </li></ul>
  7. 7. Nodes <ul><li>A node is the primary form of content in a drupal site. At a minimum it is a title and a body, and can be ‘specialized’. </li></ul><ul><li>A ‘page’ and ‘story’ for example are node types that have a specific node settings. </li></ul><ul><li>A node type is a blueprint for creating instances of content of a particular type. </li></ul>
  8. 8. Nodes (cont) <ul><li>Not everything in Drupal is a node. </li></ul><ul><li>This is important!! </li></ul><ul><li>Ex: A user is not a node. A taxonomy is not a node. An account is not a node. </li></ul><ul><li>Knowing this is important for evaluation of what can and cannot be easily done through the UI, without additional programming. </li></ul>
  9. 9. Blocks <ul><li>Blocks are added by modules. </li></ul><ul><li>Blocks can contain views, menus, nodes (in special circumstances), and panels. </li></ul><ul><li>Blocks can be moved around through the UI </li></ul><ul><li>Blocks can be styled individually. </li></ul>
  10. 10. Change Site Information <ul><li>In Administer > Site Configuration > Site Information: </li></ul><ul><li>Change the information to suit your site following the help text. </li></ul><ul><li>Don’t change the ‘Default front page’ just yet. </li></ul><ul><li>Click ‘Save configuration’ </li></ul>
  11. 11. Change Date and Time <ul><li>In Administer > Site Configuration > Date and Time: </li></ul><ul><li>Change the timezone to the correct time for India/New Delhi </li></ul><ul><li>Change the time formats </li></ul><ul><li>Click ‘Save Configuration’ </li></ul>
  12. 12. Clean Urls <ul><li>Clean URLs remove the ?q= from the location bar in your web browser. </li></ul><ul><li>In Administer > Site Configuration > Clean Urls: </li></ul><ul><li>Tick ‘Enabled’ </li></ul><ul><li>Click ‘Save Configuration’ </li></ul>
  13. 13. Add a user <ul><li>Go to Administer > User Management > Users </li></ul><ul><li>Click ‘Add user’ </li></ul><ul><li>Choose options. </li></ul><ul><li>Click ‘Create New Account’ </li></ul>
  14. 14. Add a user <ul><li>A user can also add themselves by registering, if the root user has allowed this option. </li></ul><ul><li>Go to Administer > User Management > User Settings </li></ul><ul><li>Tick ‘Visitors can create accounts and no administrator approval is required’ </li></ul><ul><li>Click ‘Save Configuration’ </li></ul>
  15. 15. Add Roles <ul><li>You will note that ‘anonymous’ and ‘authenticated’ users are there by default, undeletable. </li></ul><ul><li>Type in the box below the roles in the ‘Name’ column. Click ‘add role’. That’s it. </li></ul>
  16. 16. Edit / Delete role <ul><li>Click ‘edit’ next to the role name. </li></ul><ul><li>Here you can change the name or delete the role. </li></ul><ul><li>Warning: If you click ‘delete role’, there is NO confirmation. This can be bad. </li></ul>
  17. 17. Assign multiple roles to User <ul><li>In Administer > User Management > Users: </li></ul><ul><li>Click the ‘edit’ link under operations for a user </li></ul><ul><li>Under Roles, Tick an additional role you created. </li></ul><ul><li>You will notice ‘authenticated user’ is locked. </li></ul><ul><li>Scroll to the bottom and click ‘Save’ </li></ul>
  18. 18. Most Useful Contributed Modules Administration menu CCK Views String Overrides Backup and Migrate SEO Checklist SEO Compliance Checker Pathauto Path Redirect Global Redirect Search404 Meta Tags Global GEOurl Html Purifier Page Title Menu Attributes New XML Sitemap Site Map Taxonomy Manager Token Auto Assign Role (+patch) Ubercart Date Mollum / Spam Captcha WYSIWYG API FCKEditor IMCE Chaos Tools + Delegator Panels Actions Triggers Notify Scheduler Addthis / Diggthis/ Sharethis Guestbook Simplenews GoogAnalytics