beginner's guide to drupal

40
Website for Startups

Upload: mayankgrd

Post on 17-Jun-2015

7.469 views

Category:

Self Improvement


3 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Beginner's guide to drupal

Website for Startups

Page 2: Beginner's guide to drupal

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.

Page 3: Beginner's guide to drupal

Community Web SiteWeblogForumsSocial Network SiteWiki/Knowledge BaseBusiness Web Application

Page 4: Beginner's guide to drupal

PHPApache/IIS

AppServ is recommended for Windows Lighttpd works as well

• MySQL/PostgreSQL Oracle support is coming IBM is working on DB2 support

Page 5: Beginner's guide to drupal

Most basic CMS features are included

Highly Customizable Plenty of Modules Good Architecture and API Good Documentation

PerformanceGood Community

Page 6: Beginner's guide to drupal

Learning Curve PHP knowledge needed

few ThemesLack of Commercial Support

High reliability on Community support

Page 7: Beginner's guide to drupal
Page 8: Beginner's guide to drupal
Page 9: Beginner's guide to drupal

And many others like Playstation, Ubuntu, Green peace,

Page 10: Beginner's guide to drupal

Download Latest Drupal release from www.drupal.org.

Upload the file on www folder of your webserver.

Make a new MySQL databaseRun web based installation script

Page 11: Beginner's guide to drupal
Page 12: Beginner's guide to drupal

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.

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.

Page 13: Beginner's guide to drupal

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.

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.

Page 14: Beginner's guide to drupal

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.

Every Drupal site has a site level RSS feed that shows at the address www.yoursite.com/rss.xml. RSS fi\eds are generated by each category you create as well. When viewing a particular category look for the feed icon

Page 15: Beginner's guide to drupal

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.

Page 16: Beginner's guide to drupal

PathMenuBlogCommentsSearchUploadProfileTracker

Page 17: Beginner's guide to drupal
Page 18: Beginner's guide to drupal
Page 19: Beginner's guide to drupal

Menu Systems – Primary and Secondary

A closer look into Content CreationBlocks Books – Organizing contentsTaxonomyURL Aliasing Site maintenanceError Reporting

Page 20: Beginner's guide to drupal

Installing contributed module – DHTML Menu Download the module from drupal.org Upload and unzip the file in

/sites/all/modules folder of your drupal installation folder on the server.

Navigate to Site building ->modules. Activate the module. Enjoy the new functionality.

Page 21: Beginner's guide to drupal

This module allows Drupal to replace textarea fields with the FCKeditor - a visual HTML editor, sometimes called WYSIWYG editor.

You should Enable file upload feature for uploading image.

A Office 2003 like editing interface. Embed Flash videos, upload image,

and do rich text formatting – No more HTML.

Page 22: Beginner's guide to drupal
Page 23: Beginner's guide to drupal

User RolesPermissions User Settings

Whenever you install a new module, always check the permission to suit your needs.

Page 24: Beginner's guide to drupal

Image Image Module Image Field Gallery

Video Directly Embed Videos Flash Video Module FLV Media Player Module. Kaltura Module

Audio Audio Module MediaField Module

Page 25: Beginner's guide to drupal

Creates a new Content type Image.Allow Images to be automatically

resized like thumbnails and preview.Create Image Gallery.Bulk image import

Page 26: Beginner's guide to drupal

You are familiar with URL Alias we talked about.

Pathauto automate the process of giving unique search engine friendly path to nodes.

We will need token module to install pathauto.

Configure pathauto by going to URL Alias settings

Page 27: Beginner's guide to drupal

Download Contributed module from www.drupal.org

Unzip and upload the theme folder to sites/all/modules folder.

Go to Site building -> ThemesEnable the new detected theme.Configure theme specific settings. Add slide logo and favicon image.

Page 28: Beginner's guide to drupal
Page 29: Beginner's guide to drupal

Forum allow threaded discussion on your site.

Enable forum moduleSet up new discussion forum and use

containers to organize.

Page 30: Beginner's guide to drupal

Enable Clean URLsPathauto moduleNever rename previously existent

links Install Global Redirect Module Install metatag/ Nodeword module

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.

Page 31: Beginner's guide to drupal

Page Title ModuleThere should be one H1 tag in every

fileAlways use a custom front page.

Page 32: Beginner's guide to drupal

Drupal provides the CCK module as a way to build custom content types that can be tailored to suit your needs.

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.

Text, number, node reference, user reference options widget fields are provided by default.

Page 33: Beginner's guide to drupal

Imagefield MediafieldEmail fieldLink fieldDate FieldAnd many more

Page 34: Beginner's guide to drupal

Using PHP Install Content Template ModuleBut, we will consider Composite

Layout – its easy and simple to start with.

Page 35: Beginner's guide to drupal

You can use blocks as a very simple way to customize the look of your site.

Blocks can contain lists of posts, widgets or even custom php code snippets.

You have a great amount of control over who sees a block and where they are placed.

Many modules will add special blocks to your site.

More advanced site builders can utilize the views module to create dynamic blocks from content on their site.

Page 36: Beginner's guide to drupal

The Views module provides a flexible method for Drupal site designers to control how lists of content of almost anything are presented.

This tool is essentially a smart query builder that, given enough information, can build the proper query, execute it, and display the results.

Page 37: Beginner's guide to drupal

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.

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.

Page 38: Beginner's guide to drupal

Sitemap moduleSliderTicketyboo News TickerPaging IpaperCollapse TextPanelTabsNice Menu

Page 39: Beginner's guide to drupal

Routinely change administration password. Protect your site registration form,

contact form and comments with anti-spam measures. – Mollen, Akismet, Capcha

Block Access to offending IP Allow only Basic HTML to Anonymous users Routinely update modules and core Don’t worry, drupal is very secure

Page 40: Beginner's guide to drupal