Unleash Your Potential - Namagunga Girls Coding Club
Drupal 7 Building Blocks
1. A Look into Drupal 7 module
configuration
Taxonomy, CCK, Views, Comment,
WYSIWYG, Search, WebForm
2. What will be achieved in this session
Taxonomies
Content Types
Configure Search
Enable Comments
Create a submission form
View with multiple displays
Add new buttons for WYSIWYG
3. Taxonomies
Taxonomy is the practice of classifying content.
Its a way to categorise information
Enables a way to further enhance the searching
and filtering capabilities of information
To categorise the information into site sections
(Product Categories on an e-commerce site)
5. Taxonomy and CCK
Attached to content types as fields
Can be select lists or autocomplete fields
You need to first create a view and then you
need to attach the Taxonomy to a content type
to enable that content to be tagged.
6. Content Types = CCK
Create specific pages to hold specific types of
repeated data. Content Types hold specific fields
tailored to the data set, for example products.
Because the content type is tailored to the needs of
the data you can then use the fields created for the
content type in views to enable filtering of the
content.
7. Creating a
Content Type
Create a Content
Type for Recipes.
8. When to create a Content Type
When you want to extend the content, such as
filtered output, multiple page display, calendar
listing, to extend certain contributed modules
When looking at a sites information
architecture you need to start thinking about
what type of data requires its own content type
9. Dynamic Content
What is dynamic content? Content that can be filtered
to show a specific output, for example articles tagged
as news. This allows new content that matches the
filter to be reflected in the output once new content
has been added.
What are dynamic blocks?
Blocks that display dynamic content.
For example, present
3 news articles and display
the title and a teaser.
This is useful for supporting information.
10. Views
Views enables you to have a user
interface in the browser for creating
sections of your website that you would
normally have to write a SQL query to
retrieve.
Views writes the SQL query for you.
11. Filtered lists of content
Tables of specific content
Paged sections of content
What are Image and Text slideshows
Views used Date based output
RSS feeds for certain content
for?
Can be displayed in Pages
or Blocks
To Extend and work with
module output
12. Simple Views vs Views
Q: What is Simple Views?
A: Simple views is a tool that enables you to
create a basic view with a reduced feature set GUI.
Simple views is a cut down more basic Views.
13. Creating a View
Create a view to displays recipe
content on the website
Create a page display and a block display
14. Advanced Views
Relationships, enables dynamic content to be
displayed for content types which utilize a form of
"reference" field type
Arguments, allows a url to define the displayed
filter of content.
One view can have multiple arguments
Add new displays through modules such as
different types of slide shows, menus, layouts
15. Comments
Enabled per content type
Can also be enabled per content entry
Can be moderated
Can be anonymous
Can force people to join before they can
comment
Can place spam filters on comments
16. Enabling Comments
Enable the comment options for the
Recipe content type. Select individual
recipes to enable “open comments”.
17. Enhancing Comments
Add-on modules available
Can turn into Disqu comments
Can be themed and styled
Can be used to allow members to chat to each
other about content sections
Example, a secure support section where users
can log a call and use comments to register any
further information for the call
18. Webforms
Enables the creation of forms that can
be emailed to one or many people
Highly configurable
Can be themed
Can be extended with further modules
Results can be analysed from the GUI
Results can be exported as a CSV from the GUI
20. Webforms and CCK
Use Webform when you
need forms that are going
to be emailed.
Use CCK when you want the forms to be
stored as nodes.
21. WYSIWYG
What You See is What You Get
Allows you to edit your content like you would
using a word processer
Text formatting
Upload and place images
Different input profiles
Can enable spellcheck
Remember its not perfect
22. Configuring WYSIWYG
Make some configuration
changes to the way the
WYSIWYG is displayed,
and the formatting options
that are available.
23. Search Search is built into core
Displayed as a block
Can be themed
Can be turned on and off by
the theme
Provides basic search index functionality
Not many options available with core
New content will be viewable in search results
only when search is re-indexed
Re-index occurs when a cron job runs
Can re-index manually
24. Configuring Search
Make some
configuration changes
to the way the
website is being
indexed. Perform an
index of the new
recipes you entered
by performing a
manual cron job.
25. Extending Search
Search can be extended with contributed modules
Search Configuration, enables further configuration options.
Use third party tool such as Google Search, use google to
search your site.
Restrict which user roles can
Certain content types
Facetted search, related content, Solr Search
26. alot to take in?
Drupal has a steep learning curve
Lots of material on the web, google and read
Like all things better with practice
Thank you copyright Aimee Maree Forsstrom