drupal meros 1o

38
Website for Startups

Upload: stelios-stelarov

Post on 11-Mar-2016

216 views

Category:

Documents


1 download

DESCRIPTION

drupal web development lecture

TRANSCRIPT

Page 1: Drupal meros 1o

Website for Startups

Page 2: Drupal meros 1o

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: Drupal meros 1o

BlogsΚοινωνικά ΔίκτυαWikiΗλεκτρονικό περιοδικό/εφημερίδαΗλεκτρονικό εμπόριοΜε λίγα λόγια έχουμε να κάνουμε με

ένα δυναμικό σύστημα διαχείρισης περιεχομένου που κάνει οτιδήποτε

Page 4: Drupal meros 1o

Γλώσσα προγραμματισμου: PHPWebserver : Apache/IIS

AppServ is recommended for Windows Lighttpd works as well

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

Δουλεύει σε Linux, MacOS, Windows

Page 5: Drupal meros 1o

Οι πιο βασικές λειτουργίες Μεγάλη δυνατότητα παραμετροποίησης

Πολλά Modules Καλή αρχιτεκτονική and API Άμεση στήριξη από την κοινότητα

Performance… Ελεύθερο λογισμικό

Page 6: Drupal meros 1o

Απαιτείται βασικές γνώσεις PHP Όχι τόσο glamour ThemesLack of Commercial Support

High reliability on Community support

Page 7: Drupal meros 1o
Page 8: Drupal meros 1o
Page 9: Drupal meros 1o
Page 10: Drupal meros 1o

And many others like Playstation, Ubuntu, Green peace,

Page 11: Drupal meros 1o

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 12: Drupal meros 1o

Επίδειξη εγκατάστασης σε Linux

Page 13: Drupal meros 1o
Page 14: Drupal meros 1o

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 15: Drupal meros 1o

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 16: Drupal meros 1o

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 17: Drupal meros 1o

PathMenuBlogCommentsSearchUploadProfileTracker

Page 18: Drupal meros 1o

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 19: Drupal meros 1o
Page 20: Drupal meros 1o
Page 21: Drupal meros 1o

Menu Systems – Primary and Secondary A closer look into Content Creation Blocks Books – Organizing contents Taxonomy URL Aliasing Site maintenance Error Reporting

Page 22: Drupal meros 1o

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 23: Drupal meros 1o

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 24: Drupal meros 1o

--includes --misc --modules --profiles --scripts --sites ---> O φάκελος που προσδιορίζει το site

--all ---> Αρχεία για όλα τα Sites --modules --themes

--default ---> Τα Αρχεία συγκεκριμένου site --files settings.php

--themesΚαι φυσικά η Βάση Δεδομένων

Page 25: Drupal meros 1o

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 26: Drupal meros 1o
Page 27: Drupal meros 1o

User RolesPermissions User Settings

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

Page 28: Drupal meros 1o

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 29: Drupal meros 1o

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

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

Page 30: Drupal meros 1o

Forum allow threaded discussion on your site.

Enable forum moduleSet up new discussion forum and use

containers to organize.

Page 31: Drupal meros 1o

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 32: Drupal meros 1o

Imagefield MediafieldEmail fieldLink fieldDate FieldAnd many more

Page 33: Drupal meros 1o

Using PHP Install Content Template ModuleBut, we will consider Composite

Layout – its easy and simple to start with.

Page 34: Drupal meros 1o

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 35: Drupal meros 1o

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 36: Drupal meros 1o

Sitemap moduleSliderTicketyboo News TickerPaging IpaperCollapse TextPanelTabsNice Menu

Page 37: Drupal meros 1o

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 38: Drupal meros 1o