30
Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013 Introduction to Drupal Part 1 of 3 Installation, Basic Configuration, Content Types, User Roles

TLA Webinar: Introduction to Drupal -- part 1 of 3

Embed Size (px)

DESCRIPTION

Drupal 7: Installation, Basic Configuration, Content Types, User Roles

Citation preview

Page 1: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Introduction to Drupal Part 1 of 3

Installation, Basic Configuration, Content Types, User Roles

Page 2: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

What is Drupal? •  A content management system

•  A web application framework

•  A community

•  Free

•  Open source

•  Entirely customizable

•  Extremely powerful

Page 3: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Minimum Requirements Drupal 7

•  A web server

•  Apache, Nginx, Microsoft IIS

•  A database

•  MySQL 5.0.15+, PostgreSQL 8.3+, SQLite 3.3.7+

•  PHP 5.2.5+ (5.3 recommended)

Page 4: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Installation Options

•  Webhost

•  Acquia Dev Desktop

•  Drupalpro + Virtualbox

•  MAMP

•  Bitnami

•  Zend Desktop

Page 5: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Installation Demo

Page 6: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Common Installation Gotcha’s •  Files not writeable: check sites/default/!les permissions

•  settings.php does not exist: duplicate default.settings.php and rename settings.php – make sure that it is writeable for installation

•  White screen: usually means not enough memory

•  Cannot access any interior page: missing .htaccess file

•  Database access: read your host’s database instructions

These are the common issues/solutions, but they are not the only factors. Drupal.org is a fantastic resource for further troubleshooting.

Page 7: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Proper Permissions •  sites/default/files:

755 command line: chmod -R 755 !les

•  settings.php: 444 command line: chmod 444 settings.php

Page 8: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Basic Configuration Demo

Page 9: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Content Types

Page 10: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Basic Content Types

Basic Page •  Title •  Body text •  Belongs in menu

Article (Right) •  Title •  Submitted by info (1) •  Image (2) •  Body text •  Tags (3) •  Comments (4) •  Does not belong in menu

Page 11: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

New Content Type: Event Requirements

•  Title

•  Body text

•  Image

•  Tags

•  No submitted by info

•  No menu

•  Event contact (new !eld)

•  Event date (module)

•  Event location (module)

•  Registration link (module)

Page 12: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Content Types Basic Fields & Choices

Demo

Page 13: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

New Content Type: Event Requirements

•  Title

•  Body text

•  Image

•  Tags

•  No submitted by info

•  No menu

•  Event contact (new !eld)

•  Event date (module)

•  Event location (module)

•  Registration link (module)

Page 14: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

New Content Type: Event Requirements

•  Title

•  Body text

•  Image

•  Tags

•  No submitted by info

•  No menu

•  Event contact (new !eld)

•  Event date (module)

•  Registration link (module)

•  Event location (module)

Page 15: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Extending Functionality with Modules

Page 16: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Selecting a Module

1. Module description •  Is its purpose clear? •  Is it well documented?

2. Age of the module •  How long has it been around? •  If for a long time, has it been

kept up to date?

3. Issue queue •  Is it active?

4. Maintainers

Page 17: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Selecting a Module Cont.

5. Related modules •  Are a lot of projects working

with this tool? •  Are there lots recipes to

work with?

6. Project information •  Is the module being actively

maintained, today? •  Is it widely used? •  When was it last updated?

7. Downloads •  A – recommended downloads •  B – date of release •  Are there green versions

available?

Page 18: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Installing Modules Demo

Page 19: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

New Content Type: Event Requirements

•  Title

•  Body text

•  Image

•  Tags

•  No submitted by info

•  No menu

•  Event contact

•  Event date: Date module drupal.org/date

•  Registration link: Link module drupal.org/link

•  Event location: Multiple drupal.org/address!eld_staticmap +

Page 20: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Finish up Event Content Type

Demo

Page 21: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Event Content Type •  Custom fields requiring additional

modules

•  A date field that will allow for database queries based on date (for a calendar, e.g.)

•  Custom display settings for the node view and the teaser view appropriate for event content

Page 22: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Recap: Drupal Glossary •  Node: a piece of content which belongs to a content type. A

node page is the specific single page for that content, but nodes can be viewed outside of their page.

•  Teaser (aka Summary): an introductory paragraph about a piece of content.

•  Terms (aka Tags): organizational keywords that can be used to create categories or metadata.

•  Module: a package of code (typically written in PHP and CSS) that extends Drupal functionality.

https://drupal.org/glossary

Page 23: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Users & User Roles

Page 24: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Users •  Individuals with accounts on the site

•  Accounts are tied to the individuals’ email addresses so that they can reset passwords on their own as needed

•  Activity on the site is tracked so that you can tell who created/edited a node or did other tasks on the site

•  Users can be given roles that have specific sets of permissions

Page 25: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

User Roles •  Your site can have unlimited roles

•  Roles can be given very specific sets of permissions (e.g. “Post to facebook”)

•  Users can have many roles, and will have the permissions from each role

•  Permissions can be further refined with the help of workflow modules including Workbench, Workbench Access and Work"ow

Page 26: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Users & User Roles Demo

Page 27: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Recap: Drupal Glossary •  User: an individual with login credentials for the site.

•  Role: a set of permissions that can be applied to individual users. Users can belong to multiple roles.

•  Permission: a tool for controlling access to content creation, modification and site administration.

•  User1 (aka Site Maintenance Account): this is the first user on the site, and can do anything. It is not advisable to work on your site as User1. Always create an administrative account for yourself, and protect the User1 credentials.

https://drupal.org/glossary

Page 28: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Recap: Drupal Glossary •  Administrator: a default Drupal role that has high-level

permissions on the site. This should only be given to trusted individuals who know what the tools do.

•  Authenticated user: a site visitor who has logged into the site using their credentials.

•  Anonymous user: a site visitor who has not logged in (and may not have credentials). The general public will typically be anonymous users.

https://drupal.org/glossary

Page 29: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

Questions?

Page 30: TLA Webinar: Introduction to Drupal -- part 1 of 3

Intro to Drupal, Part 1 of 3 TLA Webinar Series, Nov. 12 2013

http://chillco.com/ tla-drupal-questions