Drupal 7 Building Blocks


Published on

Workshop presentation describing some key building blocks of a Drupal7 website.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Drupal 7 Building Blocks

  1. 1. A Look into Drupal 7 module configuration Taxonomy, CCK, Views, Comment, WYSIWYG, Search, WebForm
  2. 2. What will be achieved in this sessionTaxonomiesContent TypesConfigure SearchEnable CommentsCreate a submission formView with multiple displaysAdd new buttons for WYSIWYG
  3. 3. TaxonomiesTaxonomy is the practice of classifying content. Its a way to categorise informationEnables a way to further enhance the searching and filtering capabilities of informationTo categorise the information into site sections (Product Categories on an e-commerce site)
  4. 4. Creating a Taxonomy Create two taxonomies to help categorise the recipes.
  5. 5. Taxonomy and CCKAttached to content types as fieldsCan be select lists or autocomplete fieldsYou need to first create a view and then youneed to attach the Taxonomy to a content typeto enable that content to be tagged.
  6. 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 ofthe data you can then use the fields created for the content type in views to enable filtering of the content.
  7. 7. Creating a Content TypeCreate a ContentType for Recipes.
  8. 8. When to create a Content TypeWhen you want to extend the content, such asfiltered output, multiple page display, calendarlisting, to extend certain contributed modulesWhen looking at a sites informationarchitecture you need to start thinking aboutwhat type of data requires its own content type
  9. 9. Dynamic ContentWhat is dynamic content? Content that can be filteredto show a specific output, for example articles taggedas news. This allows new content that matches thefilter to be reflected in the output once new contenthas 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. 10. ViewsViews enables you to have a userinterface in the browser for creatingsections of your website that you wouldnormally have to write a SQL query toretrieve. Views writes the SQL query for you.
  11. 11. Filtered lists of content Tables of specific content Paged sections of contentWhat are Image and Text slideshowsViews used Date based output RSS feeds for certain contentfor? Can be displayed in Pages or Blocks To Extend and work with module output
  12. 12. Simple Views vs Views Q: What is Simple Views?A: Simple views is a tool that enables you tocreate a basic view with a reduced feature set GUI.Simple views is a cut down more basic Views.
  13. 13. Creating a View Create a view to displays recipe content on the website Create a page display and a block display
  14. 14. Advanced ViewsRelationships, enables dynamic content to bedisplayed for content types which utilize a form of"reference" field typeArguments, allows a url to define the displayedfilter of content.One view can have multiple argumentsAdd new displays through modules such asdifferent types of slide shows, menus, layouts
  15. 15. CommentsEnabled per content typeCan also be enabled per content entryCan be moderatedCan be anonymousCan force people to join before they cancommentCan place spam filters on comments
  16. 16. Enabling Comments Enable the comment options for theRecipe content type. Select individualrecipes to enable “open comments”.
  17. 17. Enhancing CommentsAdd-on modules availableCan turn into Disqu commentsCan be themed and styledCan be used to allow members to chat to eachother about content sectionsExample, a secure support section where userscan log a call and use comments to register anyfurther information for the call
  18. 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 GUIResults can be exported as a CSV from the GUI
  19. 19. Creating a WebformCreate a form to enable submissions forrecipes.
  20. 20. Webforms and CCKUse Webform when youneed forms that are goingto be emailed.Use CCK when you want the forms to bestored as nodes.
  21. 21. WYSIWYGWhat You See is What You GetAllows you to edit your content like you wouldusing a word processerText formattingUpload and place imagesDifferent input profilesCan enable spellcheckRemember its not perfect
  22. 22. Configuring WYSIWYGMake some configurationchanges to the way theWYSIWYG is displayed,and the formatting optionsthat are available.
  23. 23. Search Search is built into core Displayed as a block Can be themed Can be turned on and off by the themeProvides basic search index functionalityNot many options available with coreNew content will be viewable in search resultsonly when search is re-indexedRe-index occurs when a cron job runsCan re-index manually
  24. 24. Configuring SearchMake someconfiguration changesto the way thewebsite is beingindexed. Perform anindex of the newrecipes you enteredby performing amanual cron job.
  25. 25. Extending SearchSearch can be extended with contributed modulesSearch Configuration, enables further configuration options.Use third party tool such as Google Search, use google tosearch your site.Restrict which user roles canCertain content typesFacetted search, related content, Solr Search
  26. 26. alot to take in?Drupal has a steep learning curveLots of material on the web, google and readLike all things better with practiceThank you copyright Aimee Maree Forsstrom