What is Drupal?

stovenumerousInternet και Εφαρμογές Web

4 Δεκ 2013 (πριν από 3 χρόνια και 4 μήνες)

70 εμφανίσεις



What is Drupal?
Global Training Day
December 14, 2012
HandsomeDog Studio
An introduction to Drupal, from content
management system (CMS) and open
source basics to content types, user
permissions, theming, taxonomies and
accessing data through views.


A Clarification
It's my dog that's handsome:
http://handsomedogstudio.com
(I thought it was important to mention)


Today's agenda
I.
Introduction to Drupal
a. Overview of a CMS
b. What "open source" means
c. Drupal Showcase - how Drupal is being used worldwide
d. Drupal vs. Wordpress, DNN
II.
Some exciting things that Drupal can do
a. User roles and permissions
b. Social media integration
c. Business processes / rule-based actions
d. Distributions
III.
Getting started with Drupal
a. Aquia Desktop development environment
b. Installing code base, configuring setup.php
IV.
User management
a. Creating user roles
b. Creating / managing user accounts


Today's agenda, continued
V.
Modules
a. Overview
b. Some handy modules you may want to use
c. Enabling / configuring modules
VI.
Themes
a. Contributed themes
b. Commercial themes
c. Installing / configuring themes
VII.
Content
a. Content types
b. Taxonomies
c. URL aliases
VIII.
Blocks, Regions and Menus


Today's agenda, continued
IX.
Accessing content through Views

a. overview

b. setting up a view

c. accessing view through URL with a contextual filter
X.
The Colorado Drupal Community

a. groups.drupal.org/denver

b. IRC: #drupal-colorado

c. turntable.fm/drupalcolorado
XI.
Questions and Answers
BuildAModule.com – free learning!
http://buildamodule.com/free


Introduction to Drupal

Overview of a CMS

What "open source" means

Drupal Showcase - how Drupal is being
used worldwide (
drupalshowcase.com
)

Drupal vs. Wordpress, DNN


Some exciting things that Drupal
can do

User roles and permissions

Social media integration

Business processes / rule-based actions

http://drupal.org/project/distributions
Distributions

FedEx
,
Stanford
,
UMG
,
USA Pro Cycling Challenge


Getting started with Drupal

Aquia Desktop development environment


LAMP”, “MAMP”, “WAMP”

https://network.acquia.com/downloads/7.x

Download latest version from
drupal.org/project/drupal

Installing code base, database


settings”, then “sites”, then “import”


Getting started with Drupal

Quick overview of setup.php

$db_url

$databases array

Change when publishing to production
server


User Management

Use cases

Triathlon club (admin, board, members,
unauthenticated users)

Rowing club (coaches, board, rowers,
unauthenticated users)


User management

/admin/people/permissions/roles


Authenticated user” permissions

Adding a role

Setting permissions


User management

Account settings – who can add users?

/admin/config/people/accounts

manage user account fields

email messages

Adding users

/admin/people/create

select role(s)


Modules


Modules

Contributed vs. custom

Drupal's “hook” system
(click for article)

Core modules

Popular modules

Ctools, Views, Pathauto


Let's install a module

drupal.org/project/views

quick word on views in Drupal 8

download, unzip move/copy to
“sites/all/modules”

reload modules page (/admin/modules)

missing dependency

drupal.org/project/ctools


Configuring modules

After enabling a module, check for updates

Example: Contact module

enable

check for updates

configure

add a contact form category


Themes

Cue Lindsay. . .

http://5ringsweb.com


Content

Content types

/admin/structure/types

Let's create a new type: coffee

Add fields: origin country, rating


Taxonomies

That's another word for “categories”

/admin/structure/taxonomy

add vocabulary

add terms

rearrange if desired

Add new field to a content type to cover
taxonomy - “field type” is “term reference”


URL aliases

For SEO and human reasons, it's good to
have URL aliases

http://yourdomain.com/node/14

http://yourdomain.com/about-us

A couple of ways to use aliases

at the /node/add level

pathauto module


Blocks and menus

Blocks – configurable nuggets of content

Regions – places on a page layout where
blocks can be displayed

Menus – standard or custom

Main, Management, Navigation, User


Menus

Example – add “contact” page to the main
menu

/admin/structure/menu

logical place is “main” menu

add link


Views

A structured way to query your database
and select content

database platform neutral


SELECT * FROM 'coffeedrinks' WHERE
'caffeinecontent' = “high”


Views

Add content first

by the way, front page doesn't have to look
like a blog

create basic page

/admin/config/system/site-information

set new default front page


Views

/admin/structure/views

Let's make a view that shows us all content
that has taxonomy term of “coffee”