SlideShare une entreprise Scribd logo
1  sur  11
The Fastest Way to a Drupal Site:
Think it, Plan it, Build it.



Introduction
Whether you’ve been building static web pages, managing hosted blogs, or are
new to web development altogether – building a dynamic, content managed
website may seem daunting. With literally thousands of modules to choose
from, and an expandable architecture, an open source framework like Drupal
can be intimidating. Fortunately, there is a solution that can provide all of the
benefits of a content management system, without the steep learning curve you
might expect.

If you’re interested in building sites that take advantage of cutting-edge web
2.0 features, or have been wary of diving into an open source CMS, this white
paper is for you. With illustrated diagrams and easy to follow instructions, this
white paper will take you through set-up, site administration, and even content
organization. Using Drupal Gardens, the do it yourself online tool for building
and theming Drupal sites, this white paper will have you launching your next
web project – today.

Note: The Drupal Gardens export is 100% un-hacked Drupal. No kittens were
killed during the making of your site.1




1    Sites exported from Drupal Gardens mirror the state of the Drupal Gardens code base at
      the time of export. Drupal Gardens may include patched or developer versions of modules
      and other code that is still under consideration for, but not yet part of, the official releases
      downloaded from drupal.org. Exported Drupal Gardens sites are compatible with Drupal 7
      core and modules and fully upgradeable.



Acquia • acquia.com	                                                                                     MSKU#: 0071-110901
2	                                                                                      The Fastest Way to a Drupal Site




Think it
You need to know what your site should do before you can build it quickly and
efficiently.

I like to start with a list of ideas and needs that I then turn into “wireframes”–
simple graphic mockups of the main pages of my site. Seeing the pages laid out
helps me keep track of the details. However you do it, you’ll need to list all of the
pages of your site and what you need on them. Group them into main and sub-
pages to get a feeling for what your site navigation will need to look like.

For this white paper, I planned a site for an ice cream parlor using the Drupal
Gardens “Product” site template. This template activates and configures a bunch
of modules, content types and blocks for me. I only used a small selection of
the functionality available in Drupal Gardens and only a few of the block regions
available in the standard Drupal Gardens theme layout:




Plan it
Apply the following “formula” to every element on every page of your site:

                                Source–Interaction–Display

Ask yourself the following questions:

Source: Where does this come from? Some combination of user roles,
permissions and module configuration usually answers these questions.

     •	 A site administrator?




Acquia • acquia.com
3	                                                                                 The Fastest Way to a Drupal Site



     •	 A contributor?                                                               Drupal Gardens FAQ
     •	 An automated feed
                                                                                     How is Drupal Gardens Drupal? Or

     •	 A module                                                                     open source? – Drupal Gardens

                                                                                     is a new kind of product: OSSaaS
     •	 Site visitors?                                                               (Open Source Software as a

                                                                                     Service) built on Drupal. Along the
Interaction: Who interacts with this and how? These questions are very similar
                                                                                     way, Acquia has put thousands of
to the previous set (source) and can usually also be answered with a different
                                                                                     hours of thought and work into the
combination of user roles, permissions and module configuration.
                                                                                     Drupal core and many contributed

     •	 Who can see it?                                                              modules.


     •	 Who can change it?                                                           Do I own my data? – Yes. Export

                                                                                     your Drupal Gardens site at any time
     •	 Who can add to it?
                                                                                     and run it on any Drupal-compatible

                                                                                     hosting. The export is 100% un-
Display: Where and how is this displayed? The answers to these questions lie
                                                                                     hacked Drupal. No kittens were
in the configuration of blocks, selection and presentation of content in views,
                                                                                     killed during the making of your site.
menu- and module configuration, and so on.

                                                                                     What modules are available in
Just to be clear, by “display” I mean the functional aspects of your site like
                                                                                     Drupal Gardens? – Create a site
pages and block regions, not “200 pixels wide and blue”–setting the look and
                                                                                     today at http://drupalgardens.com
appearance of your site is called “theming” in Drupal.
                                                                                     and go to the Modules page of your

     •	 Where on the page does this appear                                           new site to find out!


     •	 Is it in a block? In which region and on which pages                         What if I want to add more modules

                                                                                     to my site? – Export it. You can then
     •	 Is it a link? Is it a menu item?
                                                                                     add compatible modules and get
     •	 Is it a teaser or a full node?                                               development help from 1000s of

                                                                                     Drupal service providers around the
With a bit of practice and experience building sites, this formula should become     world.
second nature and make you feel confident you are covering all the relevant
aspects of each page element on your site.




Build it: From wireframe to site
Let’s look at my wireframes and run through the practical application of Source-
Interaction-Display on part of my overall site plan.




Acquia • acquia.com
4	                                                                                The Fastest Way to a Drupal Site



As you go through the Source–Interaction–Display process on your own sites,
you’ll start hitting more and more elements you’ve already covered. This should
give you some peace of mind that you are covering all the bases.

Here’s the plan for my front page:




This shows my site’s sub-pages and how my main menu will work:




Acquia • acquia.com
5	                                                                                                 The Fastest Way to a Drupal Site




Two important choices
The really important part of the products page (see below) is the list of flavors–
that’s what we really want to know about an ice cream place, right? It is the
result of two choices you need to understand to really be able to leverage
Drupal’s power and flexibility:

     •	 When should I make new content types and why?

     •	 When should I make static versus dynamic pages?



Static and Dynamic

Understanding what static and dynamic pages (and blocks) are and when you
should use each can help you plan and run your site.

Static pages and blocks - There are a few pages or blocks on most sites that
don’t change much–like the welcome text on my ice cream parlor’s front page.

The Drupal “Basic page” content type is perfect for pages like this. Add menu
links to the main or sub-menus where visitors should find them and you’re good
to go.

A custom block is a great way to present short, important information–like the
store hours block on my site.

Dynamic pages and blocks – Building and maintaining complex pages by hand
is laborious. You should let Drupal assemble them for you. As your site grows
and changes, those pages change for you automatically.

Some of these dynamic pages and blocks come with Drupal and its modules:

•	    The Blog module lists all blog posts, newest first. If you have two blog authors, there’ll
      also be two other pages, each with a single author’s entries.

•	    Drupal can display a page of all site content tagged with any given taxonomy term.

•	    Blocks like “Recent [comments/new members/blog posts/gallery images]” and “Who’s
      new”.


Most of us can probably use a couple other dynamic pages that aren’t built in
to Drupal. That’s where modules like Views and Simple Views come in. They
give you a variety of powerful options to make the rules–called “views”–to build
dynamic pages and blocks.




Acquia • acquia.com
6	                                                                                           The Fastest Way to a Drupal Site



Making content types work for you

When should you create and use new content types? I use two strategies when
planning a site: organization and access.

The organization strategy – Making content types that fit your data helps in
collecting, organizing and presenting it.

You could use a simple content type like “Basic page”–which is only a title, and
a body text–for everything on your site, but it’s like throwing a bunch of colored
toy blocks into an open box:

•	   The information might all be there, but it’s hard to sort the products from the staff
     members from anything else.

•	   If you tag your content, you can at least leverage Drupal to show things tagged
     “product” on one page, but it won’t be sortable.

•	   One product might be described one way and another completely differently.

•	   You’ll lose sales if it’s difficult for visitors to sort and compare your products.


Custom-tailoring (new) content types by adding numerical, text or other fields
to them means no matter who adds new products on your site, it will be done
in a standardized format. This also lets you take advantage of views to make
dynamic, sortable products pages, while still only having to enter each product a
single time.

Example: The “Ice cream” custom content type on my site includes a name
and text body plus fields like: short description (text field), calories per serving
(numerical field); photo (image field); popularity; ingredients list; allergens list;
etc.

The access strategy – Limit content contributors’ access to only creating and
changing content of one or more specific content types. Site administrators
retain full access to the back end, but restrict non-technical users, improving
security and reducing administrative headaches.

Example:

•	   Three groups of users need to add and change content on a school website: the
     school administration, the PTA, and the after school program.

•	   Make a user role for each




Acquia • acquia.com
7	                                                                                            The Fastest Way to a Drupal Site



•	   Make two simple content types (title and body text only), “PTA page” and “After School
     page”, along with anything else you need.

•	   PTA and After School are only assigned permissions to create, edit and delete pages
     of their own content types.

•	   School administration users are permitted to create, edit and delete all content and
     blocks on the site.


Here are two important sub-pages, the contact page and my products page:




Acquia • acquia.com
8	                                                                                           The Fastest Way to a Drupal Site



Source-Interaction-Display - element by element                                                Theming Drupal

Planning every element of every page pays off in reduced build and                             This white paper does not cover

configuration time. Due to space constraints, I am not able to do that here.                   developing the look and feel of your

Below are some highlights to give you the idea:                                                site, known as “theming” in Drupal

                                                                                               (there is an article in this issue, “PSD
Items marked with an asterisk (*) are included in the Drupal Gardens template I                To Drupal 7 Theme” that covers
chose for the site.                                                                            some Drupal theming basics).


                                                                                               It would take a lot more space that
Site name*, Site slogan*
                                                                                               I have here to even begin to cover

     •	 SOURCE: Site administrator. Set via Configuration > Site information                   all of the possibilities in this rapidly

                                                                                               evolving area–from in-browser
     •	 INTERACTION/DISPLAY: Visible in the header region by default.
                                                                                               WYSIWYG tools like the Drupal

                                                                                               Gardens ThemeBuilder to templating

Logo*                                                                                          languages, tools, modules, base

                                                                                               themes, theme families and systems.
     •	 SOURCE/DISPLAY: Site administrator. Actually a theme element, set using the Drupal
     Gardens ThemeBuilder (via Appearance > Brand > Logo). Set your site’s “favicon” while
                                                                                               Remember that we use a content
     you are there.
                                                                                               management system like Drupal to

                                                                                               separate theming from functionality.
Menus (main*, footer, products page sub-menu)                                                  Choose a solid, flexible base theme;

                                                                                               make your site work right (access,
     •	 SOURCE: Site administrator. Add main menu links while creating the various pages.
     Add links to sub-pages as “children” of their respective “parent” menu items. Create      dynamic pages, links, etc.), then
     and configure custom Footer and Product page menus via Structure > Menus > “+ Add         make it pretty.
     menu”.

     •	 INTERACTION: Menu items that link to parts of your site that a given user does not
     have permission to see will not be shown to that user.

     •	 DISPLAY: Menus are blocks in Drupal. Set their display regions and pages via
     Structure > Blocks. Footer menu block placed in the Footer first region, Product page
     menu block placed in the Sidebar A region and displayed only on the Products page via
     Structure > Blocks. Main menu displayed in the Navigation region by default.



Rotating banner*

     •	 SOURCE: Site administrator. The rotating banners in Drupal Gardens are blocks.
     Create and configure via Structure > Blocks.

     •	 INTERACTION: Images can link to any URL.

     •	 DISPLAY: Displayed by default in the banner block on the front page only.




Acquia • acquia.com
9	                                                                                               The Fastest Way to a Drupal Site



Custom blocks (Contact page message, Flavor of the month*, Store hours*,                           Drupal jargon, a micro-
Copyright & thanks)                                                                                glossary

     •	 SOURCE: Site administrator. Create custom blocks via Structure > Blocks.                   Attribution: sourced in part and

                                                                                                   inspired by http://drupal.org/
     •	 INTERACTION: Block texts include links to relevant pages.
                                                                                                   node/19828. See this white paper’s
     •	 DISPLAY: Flavor of the month block placed in Sidebar A, Store hours block in Sidebar       “Further reading” section for links to
     B, Copyright & thanks block in the Copyright region, displayed on all pages via Structure     more references online.
     > Blocks. The “Got something to tell us?” block is displayed in the Highlighted Content
     region on the Contact page only.
                                                                                                   Node - The basic unit of content

                                                                                                   in Drupal. All nodes are of a given
Module generated blocks*                                                                           content type (page, blog entry, etc.).

                                                                                                   All nodes have a title; most have a
     •	 Twitter feed* SOURCE: Aggregator module. Site administrators configure the Twitter
     feed and “Overheard on Twitter” block via Configuration > Feed aggregator. Get the            text body.
     feed URLs from your account page at http://twitter.com.
                                                                                                   Block, Region - Pages on your
     •	 Mailing list* SOURCE: Mailing List module. Site administrators can create lists and
                                                                                                   Drupal site are laid out in regions.
     set subscription confirmation messages via Structure > Mailing lists.
                                                                                                   Blocks (including menus, module

     •	 Mailing list* INTERACTION: All site visitors can enter their name and an e-mail            output, views or static content) are
     address. Site administrators can see and download all submissions for use elsewhere.          displayed within those regions.

     •	 DISPLAY: Set display at Structure > Blocks.
                                                                                                   Module - A set of code that enables

                                                                                                   specific functionality on your site.

Front page welcome message*                                                                        Most create a set of permissions

                                                                                                   when activated. Some make new
     •	 SOURCE: “Basic page” node created by site administrators.
                                                                                                   blocks and menu items available

     •	 INTERACTION: Comments deactivated.                                                         when they are activated.


     •	 DISPLAY: Save this node with the following “Publishing options” (via the content           Users, Permissions, Roles - The
     creation page):
                                                                                                   combination of roles assigned to a

                                                                                                   user and the permissions assigned
     •	 Published (visible to site visitors)
                                                                                                   to those rolls determine what a
     •	 Promoted to front page (displayed on front page)                                           site visitor can see and do on your

                                                                                                   site. All unregistered site visitors
     •	 Sticky at top of lists (no matter what else might appear on the page, this will be
     displayed at the top).                                                                        have the “anonymous” user role. All

                                                                                                   registered and logged-in users have
     •	 Other “Basic page” static content on the site includes: Where to buy, Wholesales,          the “authenticated” user role and any
     About us* & How to find us pages.
                                                                                                   other roles they’ve been assigned.




Acquia • acquia.com
10	                                                                                             The Fastest Way to a Drupal Site



Contact form*

  •	 SOURCE: Site administrator. Add contact categories, admin recipient e-mail
  addresses, and custom auto-reply messages to the contact form via Structure >
  Contact form. Drupal Gardens adds a “Contact” menu item to the main menu by
  default.

  •	 INTERACTION: The “Use the site-wide contact form” permission is given by
  default to all users. Restrict access to the contact form by removing the “Use the site-
  wide contact form” permission from one or more roles via People > Permissions >
  Permissions.

  •	 DISPLAY: The contact page and menu links to it will not be displayed to users who
  do not have access to it.



Products page flavor list

  •	 SOURCE: Site administrator. A sorted view of all ice cream flavors showing the
  teaser display (name, photo, short description) of the “Icecream” content type.

  •	 INTERACTION: When visitors click on the name of the flavor, they are taken to its
  full page.

  •	 DISPLAY: The view is built to show Icecream nodes as teasers. Site administrators
  could also “expose” some of the view’s filters, allowing visitors to sort the view based on
  the exposed filters (name, popularity, dairy content, etc.).



Other dynamic pages

  •	 Staff & Events pages - built like the Products page–as a view of a custom content
  type. The Upcoming event on the front page is a node promoted to the front page, but
  not sticky at the top of lists. It also appears on the Events page.

  •	 Blog* - Blog entries, newest first, generated by the Blog module

  •	 FAQ* - View of FAQ item content. This content type, page and menu link are pre-
  configured by the Drupal Gardens “FAQ” feature.

  •	 Pictures* - Landing page displaying all media galleries. Generated by the Gallery
  module that drives the Drupal Gardens “Media Gallery” feature. Each gallery also
  generates a configurable preview block.




Pro tips for the road
Here are a couple things I like to remind myself of when I am building a site:

  •	 Set these before you start creating “real” production content. Going back and
  updating content later is a real hassle.



Acquia • acquia.com
11	                                                                                           The Fastest Way to a Drupal Site



  •	 Author and submission time display - Decide and set for each content type (via
  Structure > Content types > edit) which ones should display this information (good for        About Acquia
  blog posts and press releases) and which should not (products, staff biographies, and         Acquia empowers enterprises
  the like). Comments on content – The same goes for which content types site visitors          with the open-source
  should be allowed to comment on. After activating comments, set the comment
  permissions (post comments is the critical one) via People > Permissions.                     content-management
                                                                                                system Drupal. Co-founded
  •	 Want more than a mailing list? – You might want to know more that a name and               by Drupal’s creator in 2007,
  an e-mail address. Make a powerful webform instead to collect e-mails along with
                                                                                                Acquia helps customers
  multiple choice, free text and other kinds of questions, using the Webform module (the
  engine behind the Drupal Gardens “Forms” feature.                                             manage their growth and
                                                                                                scale their online properties
  •	 Links - When you add links to other pages within your site by hand, format the link
                                                                                                with confidence. Acquia’s
  like this: <a href=”/contact”>Contact page</a>, Drupal will fill in the rest of your site
  URL for you!                                                                                  software, consultation, cloud
                                                                                                infrastructure, and services
                                                                                                enable companies to realize
                                                                                                the full power of Drupal while
Or just go for it!                                                                              minimizing risk, as it’s done
Think of your Drupal Gardens site it as a living wireframe. Thanks to its site                  for Examiner.com, Al Jazeera,
templates, features and ease of repeatability (you can copy and reuse whole                     and over 700 others.
sites and themes), Drupal Gardens lets you get away with a little less planning                 See who’s using Drupal at
up front and a little more experimentation along the way. Just think “Source–                   http://showcase.acquia.com
Interaction–Display” every time you want to add something new.                                  and learn more at
                                                                                                http://acquia.com.



Further Reading
If getting a Drupal Gardens site online has whetted your appetite, here are a few
great references on Drupal.org:

  •	 “Understanding Drupal”: http://drupal.org/documentation/understand

  •	 “General concepts” - http://drupal.org/node/19828

  •	 “Terminology” - http://drupal.org/node/937

  •	 “Acronyms and expressions used on drupal.org” is informative, fun, and will help you
  communicate more effectively with other Drupalistas: http://drupal.org/node/302232              © Copyright 2011, Acquia, Inc.

                                                                                                  Acquia, Inc.
                                                                                                  25 Corporate Drive, 4th Floor
                                                                                                  Burlington, MA 01803
                                                                                                  USA

                                                                                                  www.acquia.com
                                                                                                  sales@acquia.com

                                                                                                  +1.781.238.8600




Acquia • acquia.com

Contenu connexe

Tendances

Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupalmayank.grd
 
DrupalCon Austin - Absolute Beginner's Guide to Drupal
DrupalCon Austin - Absolute Beginner's Guide to DrupalDrupalCon Austin - Absolute Beginner's Guide to Drupal
DrupalCon Austin - Absolute Beginner's Guide to DrupalRod Martin
 
Drupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsDrupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsMicky Metts
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websitehernanibf
 
Theming moodle technical
Theming moodle   technicalTheming moodle   technical
Theming moodle technicalAlex Walker
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal BasicsJuha Niemi
 
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Mediacurrent
 
Top 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal projectTop 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal projectIztok Smolic
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibilityhernanibf
 
Preventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type ChecklistPreventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type ChecklistAcquia
 
Complex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with DrupalComplex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with DrupalBalance Interactive
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with DrupalRachel Vacek
 
Getting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundationGetting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundationMelanie Archer
 
Drupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenDrupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenJapo Domingo
 
Responsive Web Design using ZURB Foundation
Responsive Web Design using ZURB FoundationResponsive Web Design using ZURB Foundation
Responsive Web Design using ZURB FoundationSolTech, Inc.
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12ucbdrupal
 
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeCreating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeAcquia
 
Drupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDrupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDavid Burns
 

Tendances (20)

Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
DrupalCon Austin - Absolute Beginner's Guide to Drupal
DrupalCon Austin - Absolute Beginner's Guide to DrupalDrupalCon Austin - Absolute Beginner's Guide to Drupal
DrupalCon Austin - Absolute Beginner's Guide to Drupal
 
Drupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsDrupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal Concepts
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your website
 
Theming moodle technical
Theming moodle   technicalTheming moodle   technical
Theming moodle technical
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
 
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
 
Top 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal projectTop 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal project
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
Preventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type ChecklistPreventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type Checklist
 
Complex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with DrupalComplex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with Drupal
 
Top modules
Top modulesTop modules
Top modules
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
 
Intro to Drupal
Intro to DrupalIntro to Drupal
Intro to Drupal
 
Getting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundationGetting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundation
 
Drupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenDrupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with Zen
 
Responsive Web Design using ZURB Foundation
Responsive Web Design using ZURB FoundationResponsive Web Design using ZURB Foundation
Responsive Web Design using ZURB Foundation
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12
 
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeCreating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
 
Drupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDrupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs Panels
 

En vedette

TravelersInsights - Personalised holidays
TravelersInsights - Personalised holidaysTravelersInsights - Personalised holidays
TravelersInsights - Personalised holidaysAXSES INC
 
Ad tech singapore (public)
 Ad tech singapore (public) Ad tech singapore (public)
Ad tech singapore (public)paulwongjm
 
Simon's Cat Direction Reading
Simon's Cat Direction Reading Simon's Cat Direction Reading
Simon's Cat Direction Reading Ping Wu
 
Manual tecnico frutas y verduras
Manual tecnico frutas y verdurasManual tecnico frutas y verduras
Manual tecnico frutas y verdurasGenesis Mendez
 
Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Enabling Exploratory Analytics of Data in Shared-service Hadoop ClustersEnabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Enabling Exploratory Analytics of Data in Shared-service Hadoop ClustersDataWorks Summit
 

En vedette (9)

Youth And Co
Youth And CoYouth And Co
Youth And Co
 
TravelersInsights - Personalised holidays
TravelersInsights - Personalised holidaysTravelersInsights - Personalised holidays
TravelersInsights - Personalised holidays
 
Libro i. ibm.
Libro i. ibm.Libro i. ibm.
Libro i. ibm.
 
Ad tech singapore (public)
 Ad tech singapore (public) Ad tech singapore (public)
Ad tech singapore (public)
 
Simon's Cat Direction Reading
Simon's Cat Direction Reading Simon's Cat Direction Reading
Simon's Cat Direction Reading
 
Travel brochure
Travel brochureTravel brochure
Travel brochure
 
Mr nobody
Mr nobodyMr nobody
Mr nobody
 
Manual tecnico frutas y verduras
Manual tecnico frutas y verdurasManual tecnico frutas y verduras
Manual tecnico frutas y verduras
 
Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Enabling Exploratory Analytics of Data in Shared-service Hadoop ClustersEnabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
 

Similaire à Fastest Way to DRUPAL

Vskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample materialVskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample materialVskills
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with DrupalRob Sawyer
 
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...Anson Han
 
Choosing an Open Source CMS
Choosing an Open Source CMSChoosing an Open Source CMS
Choosing an Open Source CMSPhase2
 
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...Eric Sembrat
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an OverviewMatt Weaver
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupalMumbai
 
Montreal Girl Geeks: Intro to Drupal
Montreal Girl Geeks: Intro to DrupalMontreal Girl Geeks: Intro to Drupal
Montreal Girl Geeks: Intro to DrupalSuzanne Dergacheva
 
Girl geek-drupal-intro-jan23-2012
Girl geek-drupal-intro-jan23-2012Girl geek-drupal-intro-jan23-2012
Girl geek-drupal-intro-jan23-2012mtlgirlgeeks
 
Online Drupal Training Syllabus
Online Drupal Training SyllabusOnline Drupal Training Syllabus
Online Drupal Training Syllabusvibrantuser
 
Drupal Site Building for Developers
Drupal Site Building for DevelopersDrupal Site Building for Developers
Drupal Site Building for DevelopersIan Carnaghan
 
Why drupal should power your next web project
Why drupal should power your next web projectWhy drupal should power your next web project
Why drupal should power your next web projectSyed Hassan Raza
 

Similaire à Fastest Way to DRUPAL (20)

Vskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample materialVskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample material
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with Drupal
 
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
 
Choosing an Open Source CMS
Choosing an Open Source CMSChoosing an Open Source CMS
Choosing an Open Source CMS
 
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
 
Drupal intro
Drupal introDrupal intro
Drupal intro
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
 
Drupal intro
Drupal introDrupal intro
Drupal intro
 
Using Features
Using FeaturesUsing Features
Using Features
 
Montreal Girl Geeks: Intro to Drupal
Montreal Girl Geeks: Intro to DrupalMontreal Girl Geeks: Intro to Drupal
Montreal Girl Geeks: Intro to Drupal
 
Girl geek-drupal-intro-jan23-2012
Girl geek-drupal-intro-jan23-2012Girl geek-drupal-intro-jan23-2012
Girl geek-drupal-intro-jan23-2012
 
Drupal Webinar
Drupal WebinarDrupal Webinar
Drupal Webinar
 
Online Drupal Training Syllabus
Online Drupal Training SyllabusOnline Drupal Training Syllabus
Online Drupal Training Syllabus
 
Drupal Site Building for Developers
Drupal Site Building for DevelopersDrupal Site Building for Developers
Drupal Site Building for Developers
 
Why drupal should power your next web project
Why drupal should power your next web projectWhy drupal should power your next web project
Why drupal should power your next web project
 
Top Drupal modules for beginners
Top Drupal modules for beginnersTop Drupal modules for beginners
Top Drupal modules for beginners
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 

Dernier

Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 

Dernier (20)

Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 

Fastest Way to DRUPAL

  • 1. The Fastest Way to a Drupal Site: Think it, Plan it, Build it. Introduction Whether you’ve been building static web pages, managing hosted blogs, or are new to web development altogether – building a dynamic, content managed website may seem daunting. With literally thousands of modules to choose from, and an expandable architecture, an open source framework like Drupal can be intimidating. Fortunately, there is a solution that can provide all of the benefits of a content management system, without the steep learning curve you might expect. If you’re interested in building sites that take advantage of cutting-edge web 2.0 features, or have been wary of diving into an open source CMS, this white paper is for you. With illustrated diagrams and easy to follow instructions, this white paper will take you through set-up, site administration, and even content organization. Using Drupal Gardens, the do it yourself online tool for building and theming Drupal sites, this white paper will have you launching your next web project – today. Note: The Drupal Gardens export is 100% un-hacked Drupal. No kittens were killed during the making of your site.1 1  Sites exported from Drupal Gardens mirror the state of the Drupal Gardens code base at the time of export. Drupal Gardens may include patched or developer versions of modules and other code that is still under consideration for, but not yet part of, the official releases downloaded from drupal.org. Exported Drupal Gardens sites are compatible with Drupal 7 core and modules and fully upgradeable. Acquia • acquia.com MSKU#: 0071-110901
  • 2. 2 The Fastest Way to a Drupal Site Think it You need to know what your site should do before you can build it quickly and efficiently. I like to start with a list of ideas and needs that I then turn into “wireframes”– simple graphic mockups of the main pages of my site. Seeing the pages laid out helps me keep track of the details. However you do it, you’ll need to list all of the pages of your site and what you need on them. Group them into main and sub- pages to get a feeling for what your site navigation will need to look like. For this white paper, I planned a site for an ice cream parlor using the Drupal Gardens “Product” site template. This template activates and configures a bunch of modules, content types and blocks for me. I only used a small selection of the functionality available in Drupal Gardens and only a few of the block regions available in the standard Drupal Gardens theme layout: Plan it Apply the following “formula” to every element on every page of your site: Source–Interaction–Display Ask yourself the following questions: Source: Where does this come from? Some combination of user roles, permissions and module configuration usually answers these questions. • A site administrator? Acquia • acquia.com
  • 3. 3 The Fastest Way to a Drupal Site • A contributor? Drupal Gardens FAQ • An automated feed How is Drupal Gardens Drupal? Or • A module open source? – Drupal Gardens is a new kind of product: OSSaaS • Site visitors? (Open Source Software as a Service) built on Drupal. Along the Interaction: Who interacts with this and how? These questions are very similar way, Acquia has put thousands of to the previous set (source) and can usually also be answered with a different hours of thought and work into the combination of user roles, permissions and module configuration. Drupal core and many contributed • Who can see it? modules. • Who can change it? Do I own my data? – Yes. Export your Drupal Gardens site at any time • Who can add to it? and run it on any Drupal-compatible hosting. The export is 100% un- Display: Where and how is this displayed? The answers to these questions lie hacked Drupal. No kittens were in the configuration of blocks, selection and presentation of content in views, killed during the making of your site. menu- and module configuration, and so on. What modules are available in Just to be clear, by “display” I mean the functional aspects of your site like Drupal Gardens? – Create a site pages and block regions, not “200 pixels wide and blue”–setting the look and today at http://drupalgardens.com appearance of your site is called “theming” in Drupal. and go to the Modules page of your • Where on the page does this appear new site to find out! • Is it in a block? In which region and on which pages What if I want to add more modules to my site? – Export it. You can then • Is it a link? Is it a menu item? add compatible modules and get • Is it a teaser or a full node? development help from 1000s of Drupal service providers around the With a bit of practice and experience building sites, this formula should become world. second nature and make you feel confident you are covering all the relevant aspects of each page element on your site. Build it: From wireframe to site Let’s look at my wireframes and run through the practical application of Source- Interaction-Display on part of my overall site plan. Acquia • acquia.com
  • 4. 4 The Fastest Way to a Drupal Site As you go through the Source–Interaction–Display process on your own sites, you’ll start hitting more and more elements you’ve already covered. This should give you some peace of mind that you are covering all the bases. Here’s the plan for my front page: This shows my site’s sub-pages and how my main menu will work: Acquia • acquia.com
  • 5. 5 The Fastest Way to a Drupal Site Two important choices The really important part of the products page (see below) is the list of flavors– that’s what we really want to know about an ice cream place, right? It is the result of two choices you need to understand to really be able to leverage Drupal’s power and flexibility: • When should I make new content types and why? • When should I make static versus dynamic pages? Static and Dynamic Understanding what static and dynamic pages (and blocks) are and when you should use each can help you plan and run your site. Static pages and blocks - There are a few pages or blocks on most sites that don’t change much–like the welcome text on my ice cream parlor’s front page. The Drupal “Basic page” content type is perfect for pages like this. Add menu links to the main or sub-menus where visitors should find them and you’re good to go. A custom block is a great way to present short, important information–like the store hours block on my site. Dynamic pages and blocks – Building and maintaining complex pages by hand is laborious. You should let Drupal assemble them for you. As your site grows and changes, those pages change for you automatically. Some of these dynamic pages and blocks come with Drupal and its modules: • The Blog module lists all blog posts, newest first. If you have two blog authors, there’ll also be two other pages, each with a single author’s entries. • Drupal can display a page of all site content tagged with any given taxonomy term. • Blocks like “Recent [comments/new members/blog posts/gallery images]” and “Who’s new”. Most of us can probably use a couple other dynamic pages that aren’t built in to Drupal. That’s where modules like Views and Simple Views come in. They give you a variety of powerful options to make the rules–called “views”–to build dynamic pages and blocks. Acquia • acquia.com
  • 6. 6 The Fastest Way to a Drupal Site Making content types work for you When should you create and use new content types? I use two strategies when planning a site: organization and access. The organization strategy – Making content types that fit your data helps in collecting, organizing and presenting it. You could use a simple content type like “Basic page”–which is only a title, and a body text–for everything on your site, but it’s like throwing a bunch of colored toy blocks into an open box: • The information might all be there, but it’s hard to sort the products from the staff members from anything else. • If you tag your content, you can at least leverage Drupal to show things tagged “product” on one page, but it won’t be sortable. • One product might be described one way and another completely differently. • You’ll lose sales if it’s difficult for visitors to sort and compare your products. Custom-tailoring (new) content types by adding numerical, text or other fields to them means no matter who adds new products on your site, it will be done in a standardized format. This also lets you take advantage of views to make dynamic, sortable products pages, while still only having to enter each product a single time. Example: The “Ice cream” custom content type on my site includes a name and text body plus fields like: short description (text field), calories per serving (numerical field); photo (image field); popularity; ingredients list; allergens list; etc. The access strategy – Limit content contributors’ access to only creating and changing content of one or more specific content types. Site administrators retain full access to the back end, but restrict non-technical users, improving security and reducing administrative headaches. Example: • Three groups of users need to add and change content on a school website: the school administration, the PTA, and the after school program. • Make a user role for each Acquia • acquia.com
  • 7. 7 The Fastest Way to a Drupal Site • Make two simple content types (title and body text only), “PTA page” and “After School page”, along with anything else you need. • PTA and After School are only assigned permissions to create, edit and delete pages of their own content types. • School administration users are permitted to create, edit and delete all content and blocks on the site. Here are two important sub-pages, the contact page and my products page: Acquia • acquia.com
  • 8. 8 The Fastest Way to a Drupal Site Source-Interaction-Display - element by element Theming Drupal Planning every element of every page pays off in reduced build and This white paper does not cover configuration time. Due to space constraints, I am not able to do that here. developing the look and feel of your Below are some highlights to give you the idea: site, known as “theming” in Drupal (there is an article in this issue, “PSD Items marked with an asterisk (*) are included in the Drupal Gardens template I To Drupal 7 Theme” that covers chose for the site. some Drupal theming basics). It would take a lot more space that Site name*, Site slogan* I have here to even begin to cover • SOURCE: Site administrator. Set via Configuration > Site information all of the possibilities in this rapidly evolving area–from in-browser • INTERACTION/DISPLAY: Visible in the header region by default. WYSIWYG tools like the Drupal Gardens ThemeBuilder to templating Logo* languages, tools, modules, base themes, theme families and systems. • SOURCE/DISPLAY: Site administrator. Actually a theme element, set using the Drupal Gardens ThemeBuilder (via Appearance > Brand > Logo). Set your site’s “favicon” while Remember that we use a content you are there. management system like Drupal to separate theming from functionality. Menus (main*, footer, products page sub-menu) Choose a solid, flexible base theme; make your site work right (access, • SOURCE: Site administrator. Add main menu links while creating the various pages. Add links to sub-pages as “children” of their respective “parent” menu items. Create dynamic pages, links, etc.), then and configure custom Footer and Product page menus via Structure > Menus > “+ Add make it pretty. menu”. • INTERACTION: Menu items that link to parts of your site that a given user does not have permission to see will not be shown to that user. • DISPLAY: Menus are blocks in Drupal. Set their display regions and pages via Structure > Blocks. Footer menu block placed in the Footer first region, Product page menu block placed in the Sidebar A region and displayed only on the Products page via Structure > Blocks. Main menu displayed in the Navigation region by default. Rotating banner* • SOURCE: Site administrator. The rotating banners in Drupal Gardens are blocks. Create and configure via Structure > Blocks. • INTERACTION: Images can link to any URL. • DISPLAY: Displayed by default in the banner block on the front page only. Acquia • acquia.com
  • 9. 9 The Fastest Way to a Drupal Site Custom blocks (Contact page message, Flavor of the month*, Store hours*, Drupal jargon, a micro- Copyright & thanks) glossary • SOURCE: Site administrator. Create custom blocks via Structure > Blocks. Attribution: sourced in part and inspired by http://drupal.org/ • INTERACTION: Block texts include links to relevant pages. node/19828. See this white paper’s • DISPLAY: Flavor of the month block placed in Sidebar A, Store hours block in Sidebar “Further reading” section for links to B, Copyright & thanks block in the Copyright region, displayed on all pages via Structure more references online. > Blocks. The “Got something to tell us?” block is displayed in the Highlighted Content region on the Contact page only. Node - The basic unit of content in Drupal. All nodes are of a given Module generated blocks* content type (page, blog entry, etc.). All nodes have a title; most have a • Twitter feed* SOURCE: Aggregator module. Site administrators configure the Twitter feed and “Overheard on Twitter” block via Configuration > Feed aggregator. Get the text body. feed URLs from your account page at http://twitter.com. Block, Region - Pages on your • Mailing list* SOURCE: Mailing List module. Site administrators can create lists and Drupal site are laid out in regions. set subscription confirmation messages via Structure > Mailing lists. Blocks (including menus, module • Mailing list* INTERACTION: All site visitors can enter their name and an e-mail output, views or static content) are address. Site administrators can see and download all submissions for use elsewhere. displayed within those regions. • DISPLAY: Set display at Structure > Blocks. Module - A set of code that enables specific functionality on your site. Front page welcome message* Most create a set of permissions when activated. Some make new • SOURCE: “Basic page” node created by site administrators. blocks and menu items available • INTERACTION: Comments deactivated. when they are activated. • DISPLAY: Save this node with the following “Publishing options” (via the content Users, Permissions, Roles - The creation page): combination of roles assigned to a user and the permissions assigned • Published (visible to site visitors) to those rolls determine what a • Promoted to front page (displayed on front page) site visitor can see and do on your site. All unregistered site visitors • Sticky at top of lists (no matter what else might appear on the page, this will be displayed at the top). have the “anonymous” user role. All registered and logged-in users have • Other “Basic page” static content on the site includes: Where to buy, Wholesales, the “authenticated” user role and any About us* & How to find us pages. other roles they’ve been assigned. Acquia • acquia.com
  • 10. 10 The Fastest Way to a Drupal Site Contact form* • SOURCE: Site administrator. Add contact categories, admin recipient e-mail addresses, and custom auto-reply messages to the contact form via Structure > Contact form. Drupal Gardens adds a “Contact” menu item to the main menu by default. • INTERACTION: The “Use the site-wide contact form” permission is given by default to all users. Restrict access to the contact form by removing the “Use the site- wide contact form” permission from one or more roles via People > Permissions > Permissions. • DISPLAY: The contact page and menu links to it will not be displayed to users who do not have access to it. Products page flavor list • SOURCE: Site administrator. A sorted view of all ice cream flavors showing the teaser display (name, photo, short description) of the “Icecream” content type. • INTERACTION: When visitors click on the name of the flavor, they are taken to its full page. • DISPLAY: The view is built to show Icecream nodes as teasers. Site administrators could also “expose” some of the view’s filters, allowing visitors to sort the view based on the exposed filters (name, popularity, dairy content, etc.). Other dynamic pages • Staff & Events pages - built like the Products page–as a view of a custom content type. The Upcoming event on the front page is a node promoted to the front page, but not sticky at the top of lists. It also appears on the Events page. • Blog* - Blog entries, newest first, generated by the Blog module • FAQ* - View of FAQ item content. This content type, page and menu link are pre- configured by the Drupal Gardens “FAQ” feature. • Pictures* - Landing page displaying all media galleries. Generated by the Gallery module that drives the Drupal Gardens “Media Gallery” feature. Each gallery also generates a configurable preview block. Pro tips for the road Here are a couple things I like to remind myself of when I am building a site: • Set these before you start creating “real” production content. Going back and updating content later is a real hassle. Acquia • acquia.com
  • 11. 11 The Fastest Way to a Drupal Site • Author and submission time display - Decide and set for each content type (via Structure > Content types > edit) which ones should display this information (good for About Acquia blog posts and press releases) and which should not (products, staff biographies, and Acquia empowers enterprises the like). Comments on content – The same goes for which content types site visitors with the open-source should be allowed to comment on. After activating comments, set the comment permissions (post comments is the critical one) via People > Permissions. content-management system Drupal. Co-founded • Want more than a mailing list? – You might want to know more that a name and by Drupal’s creator in 2007, an e-mail address. Make a powerful webform instead to collect e-mails along with Acquia helps customers multiple choice, free text and other kinds of questions, using the Webform module (the engine behind the Drupal Gardens “Forms” feature. manage their growth and scale their online properties • Links - When you add links to other pages within your site by hand, format the link with confidence. Acquia’s like this: <a href=”/contact”>Contact page</a>, Drupal will fill in the rest of your site URL for you! software, consultation, cloud infrastructure, and services enable companies to realize the full power of Drupal while Or just go for it! minimizing risk, as it’s done Think of your Drupal Gardens site it as a living wireframe. Thanks to its site for Examiner.com, Al Jazeera, templates, features and ease of repeatability (you can copy and reuse whole and over 700 others. sites and themes), Drupal Gardens lets you get away with a little less planning See who’s using Drupal at up front and a little more experimentation along the way. Just think “Source– http://showcase.acquia.com Interaction–Display” every time you want to add something new. and learn more at http://acquia.com. Further Reading If getting a Drupal Gardens site online has whetted your appetite, here are a few great references on Drupal.org: • “Understanding Drupal”: http://drupal.org/documentation/understand • “General concepts” - http://drupal.org/node/19828 • “Terminology” - http://drupal.org/node/937 • “Acronyms and expressions used on drupal.org” is informative, fun, and will help you communicate more effectively with other Drupalistas: http://drupal.org/node/302232 © Copyright 2011, Acquia, Inc. Acquia, Inc. 25 Corporate Drive, 4th Floor Burlington, MA 01803 USA www.acquia.com sales@acquia.com +1.781.238.8600 Acquia • acquia.com

Notes de l'éditeur

  1. Have performed services for payers such as:IT Roadmap and Strategy DevelopmentDemand Management StrategyResource and Role RACI DevelopmentApplication Rationalization