Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Drupal-Part 2
Anonymous User
A (not-logged-in) site visitor is called
a guest, visitor or anonymous
user.
Has a user-id (uid) of 0 (zero).
All anonymous users belong to the
anonymous user role (a role ID of 1)
and have a set of permissions
assigned to them.
Authenticated User
A user in drupal may belong to one
or more roles.
Every registered user in Drupal
belongs to at least the authenticated
user role.
Authenticated user role has a role ID
of 2
Managing Permissions
KEY concept: if you grant permission
to an authenticated user, it applies to
ALL roles except the anonymous
user.
To grant a permission to everyone on
a site, you must grant the permission
to both the anonymous user and
authenticated user.
Managing Permissions
To grant permission to only a newly
created dentist role, tick the
permission on that role.
Leave all the other roles deselected.
If you grant to both the dentist role
AND the authenticated user role,
you would be doing it wrong. Drupal
assumes you know this.
In the Title, type About Us. In the body type This is my first drupal page.
Click Save
You should now see the About Us menu item in the Primary Link navigation.
Click it to go to this newly created node.
Installing Modules
Download (from drupal.or) and Unpack module
tarballs (*.tar.gz) files to the folder inside.
Upload the module folder to <drupal_root>
/sites/all/modules.
Create the modules and themes directories if
they are not there.
Go to Administer > Site Building > Modules :
and tick Enabled next to the module to enable
it and click Save Configuration
Using Modules
A newly enabled module will add an
administration menu.
Go to that module and read the help
before changing anything.
Play around and learn its feature set.
Install the Advanced Help module to
get more verbose help with modules.
Views
String
Overrides
Backup and
Migrate
SEO Checklist
SEO Compliance
Checker
Pathauto
Path Redirect
Global
Redirect
Search404
Meta Tags
Global GEOurl
Html Purifier
Page Title
Menu Attributes
Site Map
Taxonomy
Manager
Token
Ubercart
Date
Mollum / Spam
Captcha
WYSIWYG API
FCKEditor
IMCE
Chaos Tools +
Delegator
Panels
Actions
Triggers
Notify
Scheduler
Guestbook
Simplenews
Addthis /
Diggthis/
Sharethis
GoogAnalytics
SEO Checklist
SEO
Compliance
Checker
Path +
Pathauto
Path Redirect
Global
Redirect
Search404
Meta Tags
Global GEOurl
Html Purifier
Page Title
Site Map
Advanced:
Open Calais
RDF metadata
WS
Menu
Attributes
New XML
Sitemap
CCK
Views
String
Overrides
Backup and
Migrate
SEO Checklist
SEO Compliance
Checker
Pathauto
Path Redirect
Global Redirect
Search404
Meta Tags
Global GEOurl
Html Purifier
Page Title
Menu Attributes
Site Map
Taxonomy
Manager
Token
Ubercart
Mollum / Spam
Captcha
WYSIWYG API
FCKEditor
IMCE
Actions
Triggers
Notify
Date
Addthis /
Diggthis/
Sharethis
Advanced:
Advanced:
Apache Solr
Search (we
cannot support
yet)
Scheduler
Chaos Tools +
Delegator
Panels
Guestbook
Simplenews
GoogAnalytics
Advanced: Open
Calais RDF
metadata WS
Advanced: Devel
(danger)
Advanced:
PHPmailer /
SMTP Auth
They are more difficult to customize than starting from scratch, but
faster to use.
Some of the markup may be in tables or liquid layout and this may be
hard to change for your particular project, even if it looks nice to you.
Best practice suggests you either find a theme design and mimic its
look-and-feel or do the traditional photoshop mock up.
If you take someone elses theme, you dont know what youre going
to get and this can hinder your ability to develop
Garland
(use as admin
theme)
Blarland an evil
copy of garland. Place
it in sites/all/themes
and change the name
of garland to blarland
in folder, and file
names esp in the info
file.