tutorial drupal
TRANSCRIPT
-
8/7/2019 Tutorial Drupal
1/73
Instalando o Drupal
Saulo Amui
DrupalDrupal
[email protected] www.hostsh.com.br
18 de Abril, 2009
Comeando do comeo
-
8/7/2019 Tutorial Drupal
2/73
-
8/7/2019 Tutorial Drupal
3/73
Instalao via Windows
Utilizaremos como exemplo, o software XAMMP, responsvel pelaInstalao do Apache, PHP e MySQL junto ao Windows
Por que irei apresentar a instalao via Windows?!
Basicamente por 3 simples motivos:
Considera-se que todo o usurio Linux conhea Windows Nem todo usurio Windows conhece Linux
Apache, PHP e MySQL, j esto no Linux, basta habilita-los
Se quiser ir direto para a instalao do Drupal, pule para o slide 18
-
8/7/2019 Tutorial Drupal
4/73
XAMMP
Servidor local (localhost) Apache, PHP e MySQL
-
8/7/2019 Tutorial Drupal
5/73
-
8/7/2019 Tutorial Drupal
6/73
PHPApache MySQLBanco de dados
Usurio
Senha
http://www.iconfinder.net/icondetails/1815/48/?q=nohttp://www.iconfinder.net/icondetails/1815/48/?q=nohttp://www.iconfinder.net/icondetails/1815/48/?q=nohttp://www.iconfinder.net/icondetails/10125/32/?q=okhttp://www.iconfinder.net/icondetails/10125/32/?q=okhttp://www.iconfinder.net/icondetails/10125/32/?q=ok -
8/7/2019 Tutorial Drupal
7/73
-
8/7/2019 Tutorial Drupal
8/73
Criar o banco de dados
-
8/7/2019 Tutorial Drupal
9/73
drupal
Criar o banco de dados
-
8/7/2019 Tutorial Drupal
10/73
Criar o banco de dados
-
8/7/2019 Tutorial Drupal
11/73
Configurar senha no banco de dados
-
8/7/2019 Tutorial Drupal
12/73
Configurar senha no banco de dados
-
8/7/2019 Tutorial Drupal
13/73
Configurar senha no banco de dados
-
8/7/2019 Tutorial Drupal
14/73
Configurar senha no banco de dados
-
8/7/2019 Tutorial Drupal
15/73
C:\xampp\phpMyAdmin\config.inc.php
Configurar senha no banco de dados
-
8/7/2019 Tutorial Drupal
16/73
-
8/7/2019 Tutorial Drupal
17/73
MySQLBanco de dados
Usurio
Senha
Banco de dados, Usurio e Senha = OK
http://www.iconfinder.net/icondetails/10125/32/?q=okhttp://www.iconfinder.net/icondetails/10125/32/?q=okhttp://www.iconfinder.net/icondetails/10125/32/?q=okhttp://www.iconfinder.net/icondetails/10125/32/?q=ok -
8/7/2019 Tutorial Drupal
18/73
Rumo ao DrupalRumo ao Drupal
-
8/7/2019 Tutorial Drupal
19/73
Objetivos
Instalar o Drupal
Instalar tradues PT-BR
Aprender a instalar mdulos CCK
Aprender a instalar temas Dreamy
-
8/7/2019 Tutorial Drupal
20/73
www.drupal.org
-
8/7/2019 Tutorial Drupal
21/73
-
8/7/2019 Tutorial Drupal
22/73
-
8/7/2019 Tutorial Drupal
23/73
C:\xampp\htdocs
Exemplo de outros locais:Exemplo de outros locais:/home/suaconta/public_html
/var/www/pages
/home/suaconta/web
-
8/7/2019 Tutorial Drupal
24/73
settings.php
Renomeie o arquivo "default.settings.php" para"settings.php " em:
C:\xampp\htdocs\drupal-6.10\sites\default
Faa uma cpia do arquivo "default.settings.php" e o deixe na pastajunto ao "settings.php
http://www.iconfinder.net/icondetails/10322/48/?q=light -
8/7/2019 Tutorial Drupal
25/73
-
8/7/2019 Tutorial Drupal
26/73
-
8/7/2019 Tutorial Drupal
27/73
-
8/7/2019 Tutorial Drupal
28/73
-
8/7/2019 Tutorial Drupal
29/73
-
8/7/2019 Tutorial Drupal
30/73
-
8/7/2019 Tutorial Drupal
31/73
-
8/7/2019 Tutorial Drupal
32/73
-
8/7/2019 Tutorial Drupal
33/73
http://www.iconfinder.net/icondetails/3207/128/?q=ok -
8/7/2019 Tutorial Drupal
34/73
Home Page
Aps a instalao
-
8/7/2019 Tutorial Drupal
35/73
-
8/7/2019 Tutorial Drupal
36/73
Administrao
Seo de administrao do sistema
-
8/7/2019 Tutorial Drupal
37/73
-
8/7/2019 Tutorial Drupal
38/73
... continuao
-
8/7/2019 Tutorial Drupal
39/73
-
8/7/2019 Tutorial Drupal
40/73
-
8/7/2019 Tutorial Drupal
41/73
Mdulos
Lista dos mdulos que proverofuncionalidades especficas ao site
-
8/7/2019 Tutorial Drupal
42/73
-
8/7/2019 Tutorial Drupal
43/73
Idioma
Habilitaremos o mdulo Locale para configurar e instalar o idioma em Portugus (Brasil)
-
8/7/2019 Tutorial Drupal
44/73
-
8/7/2019 Tutorial Drupal
45/73
-
8/7/2019 Tutorial Drupal
46/73
-
8/7/2019 Tutorial Drupal
47/73
-
8/7/2019 Tutorial Drupal
48/73
Translations
Obter Idioma : Acesso ao repositrio deidiomas oficiais no Drupal.org
www. drupal.org/project/Translations
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
49/73
www.drupal.org
-
8/7/2019 Tutorial Drupal
50/73
http://drupal.org/project/Translations?page=6
-
8/7/2019 Tutorial Drupal
51/73
-
8/7/2019 Tutorial Drupal
52/73
-
8/7/2019 Tutorial Drupal
53/73
Importar traduo
Com os arquivos .po em seus devidosdiretrios , execute o processo adicionando o
novo idioma correspondente
-
8/7/2019 Tutorial Drupal
54/73
-
8/7/2019 Tutorial Drupal
55/73
-
8/7/2019 Tutorial Drupal
56/73
-
8/7/2019 Tutorial Drupal
57/73
-
8/7/2019 Tutorial Drupal
58/73
Instalao de Mdulos
Existem centenas de mdulos contribudos por pessoas e grupos na comunidade Drupal
www. drupal.org/project/Modules
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
59/73
Instalao de Mdulos
Como exemplo, vamos instalar o mdulo:
CCK (Content Construction Kit)
www.drupal.org/project/cck
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
60/73
www.drupal.org
-
8/7/2019 Tutorial Drupal
61/73
www.drupal.org/project/cck
... continuao
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
62/73
Criar diretrio modules em sites/all para receber osmdulos contribudos, como o CCK:
C:\xampp\htdocs\drupal-6.10\sites\all\modules
C:\xampp\htdocs\drupal-6.10\sites\all\modules\cck
-
8/7/2019 Tutorial Drupal
63/73
-
8/7/2019 Tutorial Drupal
64/73
Instalao de Temas
Existem centenas de temas desenvolvidos por pessoas e grupos na comunidade Drupal
www.drupal.org/project/Themes
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
65/73
Instalao de Temas
Como exemplo, vamos instalar o tema
Dreamy
www.drupal.org/project/dreamy
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
66/73
www.drupal.org
-
8/7/2019 Tutorial Drupal
67/73
www.drupal.org/project/dreamy
http://www.iconfinder.net/icondetails/1559/128/?q=linkhttp://www.iconfinder.net/icondetails/1559/128/?q=link -
8/7/2019 Tutorial Drupal
68/73
Criar diretrio themes em sites/all para receber os novostemas, como o dreamy:
C:\xampp\htdocs\drupal-6.10\sites\all\themes
C:\xampp\htdocs\drupal-6.10\sites\all\themes\dreamy
-
8/7/2019 Tutorial Drupal
69/73
-
8/7/2019 Tutorial Drupal
70/73
-
8/7/2019 Tutorial Drupal
71/73
-
8/7/2019 Tutorial Drupal
72/73
-
8/7/2019 Tutorial Drupal
73/73
Saulo Amui