Drupal 7x Installation - Introduction to Drupal Concepts

  • 2,212 views
Uploaded on

Drupal 7x Installation - Introduction to Drupal Concepts

Drupal 7x Installation - Introduction to Drupal Concepts

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,212
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
17
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Drupal 7x InstallationIntroduction to Drupal conceptsbasic configurations and modules 5 Labs, 1 Quiz Extra Credit Pop QUIZ.... Presentation by: Michele (Micky) Metts
  • 2. This course is for people who are new to Drupal.I will cover the most basic level of installing thesoftware and setting up your site to allow usersto register. We will also install a few modules.You should have some experience with Web sitedevelopment concepts and a basic workingknowledge of HTML and FTP.
  • 3. CaveatsThere are many ways to do things in DrupalI am not a Database AdministratorI am not a System AdministratorThis is not an in-depth study of Drupal AdministrationThis is not an in-depth study of Drupal 7 ConfigurationsThis Webinar is an overview of Drupal concepts and a walkthrough the Drupal 7 Installation process, with basicconfiguration of some core and contributed modules, with anintroduction to the Administration screens.
  • 4. Preparations – To begin, you will need:1. FTP access to a Unix/Linux Web Server with yourhosted domain and PHP52. Access to cPanel with phpMyAdmin or any utilitythat allows you to create a MySQL database* 3. A Text Editor (nice if it has FTP ability)* --- not a deal breaker if you dont have one... I use Jedit.orgs editor
  • 5. This course is for people who are new to Drupal.I will cover the most basic level of installing thesoftware and setting up your site to allow usersto register. We will also install a few modules.You should have some experience with Web sitedevelopment concepts and a basic workingknowledge of HTML and FTP.
  • 6. Knowledge of advanced HTML, PHP or CSS isnot required for this course. A clear idea of howyou want your site to work and some idea aboutthe features you want are helpful, but notnecessary - yet.
  • 7. REMINDER Preparations – To begin, you will need:1. FTP access to a Unix/Linux Web Server with yourhosted domain and PHP52. Access to cPanel with phpMyAdmin or any utilitythat allows you to create a MySQL database* 3. A Text Editor (nice if it has FTP ability)* --- not a deal breaker if you dont have one... I use Jedit.orgs editor
  • 8. What is Drupal?Drupal is a PHP framework that can beused as a content management system.A large community of independentdevelopers and people like yourself createmodules that add features to Drupal.
  • 9. Is Drupal Right for Me?Drupal is the right choice if you want adynamic platform for a community or auser based Website that can grow andremain adaptable in todays fast pacedtechnology market.
  • 10. Is Drupal Right for Me? Yes Drupal No DrupalSEO - Drupal has many proven benefits Brochure WebsiteAdd features without writing code Static content – no updatesRevisions - control of the history No Login or RegistrationAllow users to Tag and Upload Content None, or very few FormsPermissions control at multiple levels No site AdministratorsSocial or Community features, blogs, forums No User InteractionMultiple customizable user rolesCustom access levelsContext sensitive contentCommunity of developers for customization
  • 11. What we will do:Download DrupalServer ConfigurationCreate DatabaseInstallation - settings.phpChoose Modules – Install - EnableConfiguration – Permissions - RolesNavigate the Admin ScreensAdding Content
  • 12. Project Create a basic Drupal Website Allow users to registerInstall community contributed modules.
  • 13. Introduction to Drupal Websites The Overview - What is Drupal?Drupal Concepts (Nodes,Taxonomy etc.)How Drupal and MySQL Work Together
  • 14. Hosting Requirements3 things are necessary to run a Drupal installation:1.Web Server - Drupal has been deployed successfully onboth Apache and IIS. Recommended: Apache2. Database Server - Recommended: MySQL 5.0.15 orhigher3. PHP - Recommended: PHP 5.2 An in-depth list of requirements follows...
  • 15. Hosting RequirementsThese are basic hosting requirements for people that are notsystem administrators.*Must Have *Nice to have1. Control panel and FTP access – for database setup2. PHP Memory Limit: 128MB or more3. PHP – access to edit php.ini file4. Rewrite Module Enabled -clean URLs5. Access to setup cronjobs6. mySQL 57. Shell account – direct access to edit the files on your server
  • 16. Drupal ConceptsThere are several concepts fundamental to a Drupal site: nodes, content types, regions, blocks, views, CCK, themes,taxonomy, users, roles and permissions.
  • 17. NodesMost pieces of content on a Drupal Website areconsidered "nodes."A node is any post, page, poll, story, forum text,or blog entry.Comments are not considered nodes, althoughthey are always related to a node. Node contentis stored in the database.
  • 18. Content TypesOffering "content types" is a way Drupal allows youto have different kinds of nodes for differentpurposes. For example, an "Article" is one kind ofnode, a "Basic page" another, and a "Blog entry" yetanother.You can also create new content types of your own.
  • 19. Nodes and Content TypesLabeling all pieces of content as nodes allows forflexibility when creating different types ofcontent.You can select new and different featuresindividually for each type of content, or addfeatures globally to all content types.You can create menus based on content types andset access limits for individual content types:example – premium or standard.
  • 20. Q+A Thank you for your patience. I will do my best to answer all of your questions.To stay on schedule, a limited amount of time is designated for Q + A
  • 21. RegionsRegions are areas of the page wherecontent may be displayed – usually in aBlock or a Box. Regions are defined withinthe theme, usually in the .info file. Mostthemes allow you to create customregions.
  • 22. BlocksBlocks are usually located in the sidebars,but can also be used to display contentwithin a page, or within any region in yourtheme. Some modules come with pre-configured blocks. Blocks work with Viewsand may be themed independently of thepage. Blocks can be displayed based onuser roles and permissions.
  • 23. Drupal InstallationWhat is an Install Profile?Define your site -Social Network, Media, News, Educational etc.Review Install profilesLab: Download Drupal and upload to server
  • 24. Q+A Thank you for your patience. I will do my best to answer all of your questions.To stay on schedule, a limited amount of time is designated for Q + A
  • 25. Introduction to the Drupal DatabaseCreating a DatabaseConnecting to the Database Server with DrupalDrupal settings.php, htaccess and PHP.iniLab: Create a Database and Configure Server settings
  • 26. Installing the Drupal Database 3 Steps:Log into your cPanel account and chooseMySQL databse.Create databaseCreate database userAdd database user to your new database
  • 27. Q+A Thank you for your patience. I will do my best to answer all of your questions.To stay on schedule, a limited amount of time is designated for Q + A
  • 28. Location of Folders for Contributed Modules and Themes Navigate to your site folder /sites/all See 2 folders inside the /all folder named: modules ThemesThese folders will hold your contributed modules and themes.
  • 29. PHP SettingsYour memory_limit variable, in php.ini needs to be at least128M, but 220M is recommended.Max settings:max_execution_time = 120realpath_cache_size = 2M.max_input_time = 120.This will need to be implemented if you run into WSOD issues (whitescreen of death) while trying to render pages such as the Modules list.
  • 30. Editing the php.ini File Sample php.ini file settings:Create this file in a text editorand upload it to your root register_globals = OffHTML directory on your upload_max_filesize = 30Mserver. post_max_size = 30MMost hosting services will memory_limit = 220Mread from this file – however, upload_tmp_dir = 300Myour host may not. In this max_execution_time = 120case, you will have to max_allowed_packet = 80Mcontact your host and ask realpath_cache_size = 2Mthem to help you add the max_input_time = 120changes to your php.ini file.
  • 31. Clean URLs Editing the .htaccess File By default, Drupal uses and generates URLs for your sites pages that look like"http://www.example.com/?q=node/83." This style of URLs can be hard to read, and can preventsome search engines from indexing all the pages of your site.If your server is configured correctly, you should be able to enable CleanURLs. If not, see the handbook for setting up Clean URLs here:http://drupal.org/node/15365A sample .htaccess file for Drupal can be found here.http://code.google.com/p/drupalgooglecode/source/browse/trunk/.htaccess
  • 32. Drupal Core ModulesBuilt-in, or Core Drupal ModulesEnabling Optional Core ModulesConfiguring Core ModulesLab: Enable and configure Core required and optional modules
  • 33. Q+A Thank you for your patience. I will do my best to answer all of your questions.To stay on schedule, a limited amount of time is designated for Q + A
  • 34. Installation of Drupal ModulesMost helpful Modules for AdministratorsCleaning up the Administration UIInstallation of Administration ModuleBasic Configuration of Administration ModuleHow to navigate the Administration MenuLab: Install and configure Administration module
  • 35. Q+A Extra Credit Pop Quiz to be answered at end of program:How do you add content to the front page of your Website?
  • 36. Navigating the Admin ScreensOverview of the Administration MenuOverview of RolesOverview User SettingsLogged In vs, Logged outQUIZ: Find the Modules
  • 37. Q+AExtra Credit Pop Quiz to be answered at end of program: How to add content to your Website
  • 38. SummaryDownload DrupalServer ConfigurationCreate DatabaseInstallation -Choose Modules – Install - EnableBasic Configuration – Permissions - RolesNavigate the Admin ScreensAdding Content
  • 39. Extra Credit Pop QUIZ Adding ContentHow do you add the main pages to your site?
  • 40. My 10 Favorite Modules for Admin If I could only choose 10...1. Admin Menu - http://drupal.org/project/admin_menu RRRRR2. Views - http://drupal.org/project/views RRR3. Masquerade -http://drupal.org/project/masquerade RRR4. Global Redirect - http://drupal.org/project/globalredirect RRRRR5. Token - http://drupal.org/project/token RRRRR6. Taxonomy Manager - http://drupal.org/project/taxonomy_manager RRR7. Pathauto - http://drupal.org/project/pathauto RRRR8. Backup and Migrate - http://drupal.org/project/backup_migrate RRRRR9. Link - http://drupal.org/project/link RRR10. Filter Permissions - http://drupal.org/project/filter_perms RRRRR Must Have Nice to Have Want to Have
  • 41. Some Free Drupal Resources1. drupal.org2. groups.drupal.org – Drupal Group threaded discussions3. drupalchat.net – live community support chat4. youtube.com – great tutorial videos5. drupal2u.com -Free Themes6. drupal.org/project/themes – Free Themes 7. Google – Drupal error message debugging Join the Drupal community – Give Help, Get Help.
  • 42. Happy Drupal Hacking - Do not hack core. For more information contact: Michele (Micky) Mettsmicky@drupalconnection.com