Drupal Uitgebreide Starters Training
-
Upload
luciuswebsystems -
Category
Technology
-
view
3.019 -
download
0
Transcript of Drupal Uitgebreide Starters Training
DRUPAL Training , dag 1 Introductie
Inleiding
Globale inhoud Drupal startersweek
Drupal installeren
Drupal inrichten
Kennismaking populaire modules
Gebruik populaire modules
Theming
Website te publiceren
Aftasting kennis in huis Wie heeft wat reeds gedaan met Drupal
Introductie Drupal
Geschiedenis
Huidige stats
Drupal association & DrupalCons
Drupal
Wanneer Drupal?
Bedrijfswebsites
Online communities
Intranets
Enterprise oplossingen
Webwinkel
Weblog
Multi site platforms
And many more..
Drupal
Wanneer Drupal níet te gebruiken
Als het overkill is
Sites die niet veel veranderen
Sites die Drupal’s functies niet gebruiken
Als simpelere oplossingen beschikbaar zijn (bv. Mediawiki voor een wiki)
Als er geen technisch beheerder beschikbaar is
DRUPAL features Multi talig
Version control
Commentaarsysteem
Download systeem
Logs en error-reporting
Forum
Blog (+API)
Poll
Drupal
Zoekmachine
Aggregator
RSS
Gebruikersrechten – beheer (ACL)
Multi – site
Zeer Flexibele content organisatie (taxonomy)
Workflow
Content import (Excel bv)
Benodigdheden
Localhost stack voor ontwikkeling
Een puplieke webserver waar u een site live kunt zetten
Enkele modules
Enkele belangrijke Drupal modules: Administration Menu CCK Views Image cache Pathauto Webform Poormanscron FCK Editor
Drupal
Benodigde basiskennis HTML / CSS
FTP
MySQL (Database aanmaken)
(lezend) PHP
Belangrijke Drupal terminologie
Module
Node
User
Block
Page
Taxonomy
Content type
Session
Drupal
Hook
Theme
Cron
Cache
Input format
Watchdog
API
i18n
Belangrijke terminologie
Page: Een pagina met titel en tekst (vb.: een nieuwsbericht)
Module: Een stukje software die een bepaalde functie vervuld (vb.: Forum module, upload module, etc.)
Theme: Een ‘skin’ voor de website: Hoe de website eruit ziet (zegt niets over de inhoud van de site, alleen uiterlijk)
Module types
Een module is dus een stukje software dat een bepaalde functie mogelijk maakt
Core: Drupal zelf en is altijd nodig
Core optional: Standaard functies (bv.: Upload)
Contributed: Wat gebruikers zelf hebben gemaakt en online gratis aanbieden
Installatie WAMP en Drupal
Demonstratie installatie WAMP
Demonstratie installatie
Oefening WAMP en Drupal
Oefening installatie WAMP
Oefening installatie Drupal
Drupal Menu in ‘t kort My account: Alles over de admin account
Create content: nieuwe pagina/blog/etc. maken
Administer: Alles over de configuratie van de site
Content management: aanpassen van bestaande content
Site building: instellingen blocks/menus/modules/themes
Site config: overige instellingen
User management: instellingen per gebruikertype
Reports: Meldingen van de site
Log out
Aanmaken pagina
Demonstratie Aanmaken pagina
Oefening aanmaken pagina
Overzicht van een pagina Title: De titel van de pagina
Body: De tekst van de pagina zelf
Input format: Of bepaalde html toegestaan is
Revision: nieuwe versie invoeren
Authoring information: Wie is de auteur?
Publishing options: Is het gepubliceerd, moet het op de voorpagina, en moet het altijd bovenin als eerste bericht zijn.
Modules uitleg (core)
Modules uitleg (core) (2)
Modules
Demonstratie module zoeken en installeren www.drupal.org -> downloads -> Modules
Basis functionaliteiten
Demonstratie van alle overige basis functionaliteiten Drupal
Problemen bij installatie Database niet gevonden
Username / password
Andere port bij hostingsbedrijf
Base url
Bij fouten:
Install.php (geeft instructies bij fouten)
Update.php (na nieuwe versie / update module)
?q=admin
Status report
Cron Wat is het?
Waar wordt het voor gebruikt:
Indexing
Externa koppelingen
Caching
E-mails verzenden
RSS feeds checken
Updates checken
Instellen mbv poormanscron
Clean URL’s
Demo
www.drupal.org/node/15365
Apache -> httpd.conf
mod_rewrite
Phpinfo -> geeft ook mod_rewrite info.
Backup je Drupal site
Files backup
MySQL backup
Restore je Drupal site
Restore Database
Restore Drupal files
Je Drupal site verwijderen
Files verwijderen
Database verwijderen
Update van je Drupal site Status report: self-monitoring systeem
Core update (conform upgrade.txt)
1) Backup files & database
2) Site offline zetten
3) Contrib modules & themes uitzetten
4) Download nieuwe versie & plaats deze
5) update.php draaien
6) check status report & run cron
7) Module aanzetten
Update van je Drupal site
Module update
1) Download nieuwe versie
2) Verwijder oude versie uit modules-map
3) plaats nieuwe versie in modules-map
3a) draai update.php
4) Check status report & modules
5) Site weer online
Drupal.org/upgrade
Blocks & themes
Blocks
Nieuw block aanmaken
Admin theme
Site information instellen
Demo site information
Color
Instellen theme variabelen
Theme instellen
Demo ander theme instellen
Veiligheid
3 nivo’s
Server (files)
Mysql (database)
Drupal (organisatie)
Users – veiligheid en permissies
1 super-user (id=1)
2 ingebouwde groepen (roles)
Meer groepen (roles) kunnen ingesteld worden
Bekijk log entries
Let erg op 3rd party modules
PHP/Mysql issues
Social engineering
Drupal.org/security
Users
Roles
Create new account
Frontend
Backend
Acces rules
Algemene instellingen user registratie
Users overzicht
Mass update
User profiles
Profiles
Demo profiles
Extra velden profiles
Content types & fields
Demo content types
Demo fields
Demo CCK
Content & nodes
Wat zijn nodes?
Basis content aanmaken: page & story
Extra content type aanmaken
Blog toevoegen
Forum toevoegen
Poll toevoegen
Content managing
Content categories
RSS
Input filters
Comments
Forum toevoegen
Poll toevoegen
Uitbreiding mbv Modules
Waar vind je modules
Installatie modules
Configuratie modules
Meer complexe modules
Enkele Modules
Poormanscron
Extra Content typen mbv CCK
Views
WYSIWYG editor
Pathauto
Navigatie
Menu items
Multi level menu items
Custom menu’s
Plaatsen mbv block
Oefeningen
Cron instellen mbv poormanscron
Clean url’s aanzetten
Maak backup van je site
Restore je site van de backup
Update Drupal core
Maak nieuw block aan en plaats deze boven in linkerkolom
Maak ‘bluemarine’ het administration-theme
Oefeningen Site information aanpassen:
Logo
Slogan
Favicon
Footer tekst
Oefeningen Maak nieuw role aan ‘member’
Zorg ervoor dat alleen users in deze rol hun profile kunnen bewerken
Registreer een user via het frontend
Keur deze user goed voor inloggen
Wijs de zojuist aangemaakte role ‘member’ toe
Log in met betreffende user en voer profiel in
Lancering van je website
Demonstratie
Oefening
Je site draaiende houden
Performance monitoren
Herstellen na fouten
Geavanceerde administratie
Theming system
xHTML / CSS
Javascript & jQuery
Custom vs Voorgecodeerd (bv Zen, cck & views, Panels $logo, $slogan)
Veel themes beschikbaar. http://drupal.org/project/Themes
Garland goed voorbeeld theme
Admininstration: Garland als backend theme behouden
Theme anatomy
Theming: voorgecodeerd
Donload bestaand theme http://drupal.org/project/Themes
Web developer toolbar: edit CSS
Wijzigen HTML/CSS
Installatie theme
Demo installatie theme van Drupal.org
Demo aanpassen theme naar eigen invulling
Oefening theme
Oefening installatie theme van Drupal.org
Oefening aanpassen theme naar eigen invulling
CCK themen Demonstratie:
Extra content type definieren
Met CCK velden definieren
Output voor die velden themen
De custom ‘CCK’ velden:
Image mbv: Imagecache
Introtekst
Oefening, CCK themen Extra content type definieren
Met CCK velden definieren
Output voor die velden themen
De custom ‘CCK’ velden:
Image mbv: Imagecache
Introtekst
Views Demonstratie Views
Views Themen van views
Theming & images
Module: CCK, Imagefield
Module: Imagecache
i18n in Drupal
Demo i18n (=internationalization)
i18n in theming
t()
ltr & rtl
Multi site
Demonstratie
Actions and triggers
Demonstratie
SEO xHTML/CSS Semantisch opgemaakt
Taxonomy
Pathauto
Geen duplicate content
XML sitemap
Meta keys
Menu benaming hetzelfde als pagina titel
Global redirect
Editor zo beperkt mogelijk omwille foutieve output
SEO Analizers Content optimizer
http://drupal.org/project/contentoptimizer
SEO checklist module http://drupal.org/project/seo_checklist