Drupal 101
Drupal 101
Overview
Modules Themes Taxonomy Content / Content Types Menu Blocks Views
Modules
Files that contain PHP code and that extend
Drupal's core functionality Types:
Core (Required and Optional)
- important and provide features needed by a wide variety of systems
Contributed
- designed, developed, and provided to the Drupal community free of charge by one or more of the thousands of developers
Modules
Core (Required)
Modules
Core (Optional)
Modules
Contributed Modules
Modules
To download a contributed module:
drush dl module_name (e.g. drush dl views)
Theme
A theme is a bundle of resources, including PHP
templates, CSS, JavaScript, and images, that provides layout and style information for some or all of the Drupal content
http://drupal.org/project/themes
Theme Installation
download theme
sudo tar xzvf fever.tar.gz -C
/home/ictx/projects/moduledev/sites/all/themes/
Building/themes
Taxonomy
Drupal's taxonomy is a system whereby custom,
unique categories can be defined to classify your website's content Creating a taxonomy
1. Go to Administer/Content Management/Taxonomy 2. Add vocabulary (the main category) 3. Add terms in each vocabulary
Blue Red
Color
Green
Menu
Menus help a visitor to a site understand (and
access) the content, features, and functions that the site provides.
Blocks
are pieces of content that are placed in certain
defined regions of a website and typically appear on multiple pages
Example:
listing of recent news or blogs on a sites announcements
Blocks
Views
easy-to-use tool for selecting and displaying lists of
content on your website Example:
Displaying the most recent news articles posted to your website, sorted in descending order by the date of posting. Displaying a list of company locations as a table that is sortable by clicking on the titles for the location name, city, state, and country. Displaying a photo gallery. Displaying a list of blog postings that is filterable by subject. Creating an RSS feed that lists the most recent content posted on your website. Displaying just about any kind of list that you can think of, created from the content that is stored on your website, as a list, table, or RSS feed.
Views
To create a view:
1. Go to Administer/Site Building/Views
ICT Center
We are making IT happen
Integrity
Commitment
Teamwork