View
578
Download
0
Category
Preview:
DESCRIPTION
Citation preview
Drupal Workshop
Presented by OS Solutions
About
Us
Company Roger Steven Casey Bryan
Inte
nded
Audie
nce Beginner Intermediate Advanced
Ove
rvie
w To cover as much Drupal as we can in 2
hours to meet all audience levels
dru
pal.o
rg Navigation GIT Groups
Term
inolo
gy Modules Blocks Themes Taxonomy
Dru
pal
Requir
em
ent s Linux PHP
MySQL
Inst
alla
tion
Dir in Apache web dir Setup conf Hosts (local) MySQL settings.php / files
Adm
in
Inte
rface Default Admin Admin Menu
Dru
sh
PHP Drop-in Command Line Quick Commands
Enablin
g
Module
s
Download, Extract, Enable
New D7 Paste URLDrush dl, en (den on
github)https://github.com/jacksi
nn/Moar-Drush-Commands
Cre
ati
ng
Conte
nt Manual Devel Import
Cre
ati
ng N
ew
C
onte
nt
Types CCK CCK Extensions D7
CC
K F
ield
s Creating Ordering Displaying
Node
Refe
rence
CCK Field Type AJAX Field (easy, node
title -> nid) Relates nodes
Taxo
nom
y Semantic Web Similar Content Use across node types
Dis
pla
ying
Conte
nt Block Output Views Displays TPL Files
Blo
cks Chunks of information
Can drop in code
Vie
ws Query Generator Create pages, blocks,
feeds Live query results
Vie
ws
UI Main interface Configuration Displays
Vie
ws
Dis
pla
ys
Block Page Feed Attachment
Vie
ws
Field
s Items to output ‘select’ clause Ordering, relationships
Vie
ws
Filt
ers Main Filtering ‘where’ clause Can expose filters
Vie
ws
Sort Sort query output ‘order by’ clause Multiple options
Vie
ws
Arg
um
ents Like filters Limit output based on
node information, relationships
Vie
ws
Rela
tionsh
ip s
Used to tie information
/ nodes together ‘join’ clause Use with fields and filters
Use
rs User 1 User 0 Management
Role
s Logically group users Share permissions User may have
multiple roles
Perm
issi
ons
What users may and
may not view or modify Setup by role Users with multiple
roles get the most liberal (‘or’ logic)
Rule
s /
Trig
gers
Execute actions on event Generate emails
Create new content Flagged content
Flags
Allow users to mark nodes (like, report)
Use with triggered rules By user or global
Oth
er
Com
mon
Module
s Drupal relies on contrib modules to increase robustness
Modules on drupal.org
are GPLv2 Licensed
Conte
xt
Logically display items
based on conditions Bundle regional
information to be used
across many node types
Featu
res
Store logically grouped
items in code Helps with versioning /
multiple developers Can deploy to any site
Drush feature-update
(fu)
Nodequeue
Order nodes Useful with sliders, promoting nodes, ad
management Add to queue on node
page (easy)
Path
auto
Generate URLs for content based on information about the
node or static May use tokens
Mult
isit
e
Traditional drop in new
sites in sites/ dir Aegir GUI management of site deployment
List
of
Module
s http://drupal.org/proje
ct/modules Good ordering options
Cach
ing CSS / JS Block Views Squid (external)
Product
ion
Deplo
yment Turn off UI elements Caching Database direction
Use features
Managin
g
Deplo
yment s
Core updates (backup!) Drush pm-update (up)
Versioning Only pull from prod DB
never push to
Module
D
eve
lopm
en t Structure Hooks API
Submission Process
Them
e
Deve
lopm
en t Structure .info .tpl.php files template.php
Data
base
M
anagem
en t Features Export DB Dump Drush
Conta
ct
OS Solutions http://ossolutions.org 888.275.4893 steven@ossolutions.or
g roger@ossolutions.org
Addit
ional
Reso
urc
es
drupal.org api.drupal.org
Recommended