Beginner's guide to drupal

8,236 views

Published on

A quick starter for a multimedia site in drupal, what modules to choose and where to find resources. Fast and easy way

Published in: Self Improvement
1 Comment
6 Likes
Statistics
Notes
No Downloads
Views
Total views
8,236
On SlideShare
0
From Embeds
0
Number of Embeds
199
Actions
Shares
0
Downloads
358
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

Beginner's guide to drupal

  1. 1. Website for Startups
  2. 2. <ul><li>The Drupal project was started in 2000 by a student in the Netherlands named Dries Buytaert. The code was originally designed for a site called Drop.org. In 2001 the source code for this project was released as Drupal. More information on Drupal history is available at http://drupal.org/node/769 . </li></ul>
  3. 3. <ul><li>Community Web Site </li></ul><ul><li>Weblog </li></ul><ul><li>Forums </li></ul><ul><li>Social Network Site </li></ul><ul><li>Wiki/Knowledge Base </li></ul><ul><li>Business Web Application </li></ul>
  4. 4. <ul><li>PHP </li></ul><ul><li>Apache/IIS </li></ul><ul><ul><li>AppServ is recommended for Windows </li></ul></ul><ul><ul><li>Lighttpd works as well </li></ul></ul><ul><li>• MySQL/PostgreSQL </li></ul><ul><ul><li>Oracle support is coming </li></ul></ul><ul><ul><li>IBM is working on DB2 support </li></ul></ul>
  5. 5. <ul><li>Most basic CMS features are included </li></ul><ul><li>Highly Customizable </li></ul><ul><ul><li>Plenty of Modules </li></ul></ul><ul><ul><li>Good Architecture and API </li></ul></ul><ul><ul><li>Good Documentation </li></ul></ul><ul><li>Performance </li></ul><ul><li>Good Community </li></ul>
  6. 6. <ul><li>Learning Curve </li></ul><ul><ul><li>PHP knowledge needed </li></ul></ul><ul><li>few Themes </li></ul><ul><li>Lack of Commercial Support </li></ul><ul><ul><li>High reliability on Community support </li></ul></ul>
  7. 9. And many others like Playstation, Ubuntu, Green peace,
  8. 10. <ul><li>Download Latest Drupal release from www.drupal.org . </li></ul><ul><li>Upload the file on www folder of your webserver. </li></ul><ul><li>Make a new MySQL database </li></ul><ul><li>Run web based installation script </li></ul>
  9. 12. <ul><li>Nodes: Nodes are the basic building blocks of all Drupal sites. Every item of content that you add to a Drupal site becomes a node. When you create a page you have created a node. When you create a blog post you have created a node. </li></ul><ul><li>One differentiating feature of Drupal is the fact that you have the ability to create custom node types by using the Content Construction Kit (CCK) module. </li></ul>
  10. 13. <ul><li>Drupal comes with a built in taxonomy system. The taxonomy system allows you to categorize the nodes on your site. The taxonomy system allows you to define vocabularies which consist of one or more terms. Vocabularies allow you to organize your terms into groups. </li></ul><ul><li>This taxonomy system makes Drupal very flexible and very powerful because you can use your categories and terms to display the content on your site in a variety of different ways. For example, a contributed module called Tagadelic allows you to display categories as a tag cloud. </li></ul>
  11. 14. <ul><li>Drupal generates a wide variety of RSS feeds. RSS allows site administrators and visitors to keep track of new content by subscribing in a feed reader. </li></ul><ul><li>Every Drupal site has a site level RSS feed that shows at the address www.yoursite.com/rss.xml . RSS fieds are generated by each category you create as well. When viewing a particular category look for the feed icon </li></ul>
  12. 15. <ul><li>Modules add functionality to your Drupal site. The core installation of Drupal includes several modules which are known as core modules. There are several key core modules that you should consider enabling on any Drupal-powered website. </li></ul>
  13. 16. <ul><li>Path </li></ul><ul><li>Menu </li></ul><ul><li>Blog </li></ul><ul><li>Comments </li></ul><ul><li>Search </li></ul><ul><li>Upload </li></ul><ul><li>Profile </li></ul><ul><li>Tracker </li></ul>
  14. 19. <ul><li>Menu Systems – Primary and Secondary </li></ul><ul><li>A closer look into Content Creation </li></ul><ul><li>Blocks </li></ul><ul><li>Books – Organizing contents </li></ul><ul><li>Taxonomy </li></ul><ul><li>URL Aliasing </li></ul><ul><li>Site maintenance </li></ul><ul><li>Error Reporting </li></ul>
  15. 20. <ul><li>Installing contributed module – DHTML Menu </li></ul><ul><ul><li>Download the module from drupal.org </li></ul></ul><ul><ul><li>Upload and unzip the file in /sites/all/modules folder of your drupal installation folder on the server. </li></ul></ul><ul><ul><li>Navigate to Site building ->modules. </li></ul></ul><ul><ul><li>Activate the module. </li></ul></ul><ul><ul><li>Enjoy the new functionality. </li></ul></ul>
  16. 21. <ul><li>This module allows Drupal to replace textarea fields with the FCKeditor - a visual HTML editor, sometimes called WYSIWYG editor. </li></ul><ul><li>You should Enable file upload feature for uploading image. </li></ul><ul><li>A Office 2003 like editing interface. </li></ul><ul><li>Embed Flash videos, upload image, and do rich text formatting – No more HTML. </li></ul>
  17. 23. <ul><li>User Roles </li></ul><ul><li>Permissions </li></ul><ul><li>User Settings </li></ul><ul><li>Whenever you install a new module, always check the permission to suit your needs. </li></ul>
  18. 24. <ul><li>Image </li></ul><ul><ul><li>Image Module </li></ul></ul><ul><ul><li>Image Field </li></ul></ul><ul><ul><li>Gallery </li></ul></ul><ul><li>Video </li></ul><ul><ul><li>Directly Embed Videos </li></ul></ul><ul><ul><li>Flash Video Module </li></ul></ul><ul><ul><li>FLV Media Player Module. </li></ul></ul><ul><ul><li>Kaltura Module </li></ul></ul><ul><li>Audio </li></ul><ul><ul><li>Audio Module </li></ul></ul><ul><ul><li>MediaField Module </li></ul></ul>
  19. 25. <ul><li>Creates a new Content type Image. </li></ul><ul><li>Allow Images to be automatically resized like thumbnails and preview. </li></ul><ul><li>Create Image Gallery. </li></ul><ul><li>Bulk image import </li></ul>
  20. 26. <ul><li>You are familiar with URL Alias we talked about. </li></ul><ul><li>Pathauto automate the process of giving unique search engine friendly path to nodes. </li></ul><ul><li>We will need token module to install pathauto. </li></ul><ul><li>Configure pathauto by going to URL Alias settings </li></ul>
  21. 27. <ul><li>Download Contributed module from www.drupal.org </li></ul><ul><li>Unzip and upload the theme folder to sites/all/modules folder. </li></ul><ul><li>Go to Site building -> Themes </li></ul><ul><li>Enable the new detected theme. </li></ul><ul><li>Configure theme specific settings. </li></ul><ul><li>Add slide logo and favicon image. </li></ul>
  22. 29. <ul><li>Forum allow threaded discussion on your site. </li></ul><ul><li>Enable forum module </li></ul><ul><li>Set up new discussion forum and use containers to organize. </li></ul>
  23. 30. <ul><li>Enable Clean URLs </li></ul><ul><li>Pathauto module </li></ul><ul><li>Never rename previously existent links </li></ul><ul><li>Install Global Redirect Module </li></ul><ul><li>Install metatag/ Nodeword module </li></ul><ul><ul><li>Meta description – an important metatag The meta description should be different on every page for best results. The meta description should be one or two brief sentences to summarize the page. </li></ul></ul>
  24. 31. <ul><li>Page Title Module </li></ul><ul><li>There should be one H1 tag in every file </li></ul><ul><li>Always use a custom front page. </li></ul>
  25. 32. <ul><li>Drupal provides the CCK module as a way to build custom content types that can be tailored to suit your needs. </li></ul><ul><li>In addition to the basic field types provided by the CCK module, you should also keep an eye out for contribs that extend CCK functionality to provide a huge range of useful field enhancements. </li></ul><ul><li>Text, number, node reference, user reference options widget fields are provided by default. </li></ul>
  26. 33. <ul><li>Imagefield </li></ul><ul><li>Mediafield </li></ul><ul><li>Email field </li></ul><ul><li>Link field </li></ul><ul><li>Date Field </li></ul><ul><li>And many more </li></ul>
  27. 34. <ul><li>Using PHP </li></ul><ul><li>Install Content Template Module </li></ul><ul><li>But, we will consider Composite Layout – its easy and simple to start with. </li></ul>
  28. 35. <ul><li>You can use blocks as a very simple way to customize the look of your site. </li></ul><ul><li>Blocks can contain lists of posts, widgets or even custom php code snippets . </li></ul><ul><li>You have a great amount of control over who sees a block and where they are placed. </li></ul><ul><li>Many modules will add special blocks to your site. </li></ul><ul><li>More advanced site builders can utilize the views module to create dynamic blocks from content on their site. </li></ul>
  29. 36. <ul><li>The Views module provides a flexible method for Drupal site designers to control how lists of content of almost anything are presented. </li></ul><ul><li>This tool is essentially a smart query builder that, given enough information, can build the proper query, execute it, and display the results. </li></ul>
  30. 37. <ul><li>Every Drupal install requires regular actions to handle maintenance tasks such as cleaning up log files and checking for updates. Cron.php is the file that Drupal uses to run the maintenance process. </li></ul><ul><li>For instance, if your site were www.example.com , loading the URL http://www.example.com/cron.php in your browser would run the maintenance. </li></ul>
  31. 38. <ul><li>Sitemap module </li></ul><ul><li>Slider </li></ul><ul><li>Ticketyboo News Ticker </li></ul><ul><li>Paging </li></ul><ul><li>Ipaper </li></ul><ul><li>Collapse Text </li></ul><ul><li>Panel </li></ul><ul><li>Tabs </li></ul><ul><li>Nice Menu </li></ul>
  32. 39. <ul><li>Routinely change administration password. </li></ul><ul><li>Protect your site registration form, contact form and comments with anti-spam measures. – Mollen, Akismet, Capcha </li></ul><ul><li>Block Access to offending IP </li></ul><ul><li>Allow only Basic HTML to Anonymous users </li></ul><ul><li>Routinely update modules and core </li></ul><ul><li>Don’t worry, drupal is very secure </li></ul>

×