presenters



 Bart Feenstra | nederdev.com
Benjamin Melançon | agaric.com
 Chach Sikes | chachaville.com
   Matthias Hutt...
What is taxonomy (bart)
What is taxonomy in Drupal 6?
"The taxonomy module allows you to categorize
 your content using both tags and administrato...
Use cases of taxonomy
Taxonomy for Photo Gallery
Categorize your pictures into albums
No need to create the album first
Technique courtesy Dan H...
Taxonomy for Photo Gallery, cont.




● Not necessary for this demonstration, but we have
three vocabularies here!
Taxonomy for Photo Gallery, cont.




You can create new photo albums on the fly, or select an existing one
from autocompl...
Taxonomy for Photo Gallery, cont.
Taxonomy for Photo Gallery, cont.




            anjaliforberpratt.com/photos/Beijing-Paralympic-Games



               ...
Taxonomy for Photo Gallery, cont.




Clicking the photo brings one to the album, rather than the individual
photograph.
Taxonomy for Photo Gallery, cont.




The same view can be used to show photos from different vocabularies.
In addition to...
Taxonomy for Everything
Taxonomy for Everything, cont.




Most of the content types have corresponding vocabularies. In this
case, we create a we...
Taxonomy for Everything, cont.
Taxonomy for Everything, cont.
Taxonomy for Everything, cont.




data.agaric.com based on work and concept by Kathleen Murtagh.
E-mail ask@agaric.com fo...
Flex Exposed Filter View with Taxonomy




Leadel.net example courtesy Linnovate.net.
Contrib Taxonomy Modules
• Top 10
  – Tagadelic
  – Taxonomy Menu
  – Content Taxonomy
  – Taxonomy Manager
  – Feed Eleme...
Taxonomy Manager

• Tool for managing large sets of terms
Taxonomy Manager - New
             Features
• i18n support for multilingual vocabularies
  – language selector




  – tr...
Taxonomy Manager - Double Tree
Term Edit
• provides links on taxonomy listing pages to
  directly edit taxonomy terms
Content Taxonomy

• CCK field type for referencing taxonomy terms

• much more flexible than core taxonomy fields

• D7: T...
Content Taxonomy - Widgets

•   autocomplete
•   select lists
•   checkboxes / radio buttons
•   taxonomy tree
Widgets

• Active Tags




• Multiselect
Hierarchical Select
• enhanced widget for letting the user select items
  in a hierarchy
Taxonomy in Drupal 7
Taxonomy entities
* Implement hook_field_info().
 *
 * Field settings:
 * - allowed_values: a list array of one or more vocabulary trees:
 *...
7
               Drupal 8 wish list
●   hook_vocabulary_info
●   Taxonomy UI administration specific for
    vocabulary ty...
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Taxonomy Everywhere
Upcoming SlideShare
Loading in …5
×

Taxonomy Everywhere

1,813 views
1,701 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,813
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Taxonomy Everywhere

  1. 1. presenters Bart Feenstra | nederdev.com Benjamin Melançon | agaric.com Chach Sikes | chachaville.com Matthias Hutterer | mh86 Benjamin Doherty | bangpound
  2. 2. What is taxonomy (bart)
  3. 3. What is taxonomy in Drupal 6? "The taxonomy module allows you to categorize your content using both tags and administrator defined terms. It is a flexible tool for classifying content with many advanced features." People need to categorize, tag, sort, and otherwise organize stuff. Administrators need to set it up so that other people who did not attend this session can also categorize and tag.
  4. 4. Use cases of taxonomy
  5. 5. Taxonomy for Photo Gallery Categorize your pictures into albums No need to create the album first Technique courtesy Dan Hakimzadeh (Agaric) and whoever he stole it from.
  6. 6. Taxonomy for Photo Gallery, cont. ● Not necessary for this demonstration, but we have three vocabularies here!
  7. 7. Taxonomy for Photo Gallery, cont. You can create new photo albums on the fly, or select an existing one from autocomplete dropdown.
  8. 8. Taxonomy for Photo Gallery, cont.
  9. 9. Taxonomy for Photo Gallery, cont. anjaliforberpratt.com/photos/Beijing-Paralympic-Games That links to the album that the photo is in. It gets a nice name thanks to the View Alias module, drupal.org/project/ view_alias
  10. 10. Taxonomy for Photo Gallery, cont. Clicking the photo brings one to the album, rather than the individual photograph.
  11. 11. Taxonomy for Photo Gallery, cont. The same view can be used to show photos from different vocabularies. In addition to the event-based albums, you can instantly get category (such as Outreach, shown here) or even keyword-based albums.
  12. 12. Taxonomy for Everything
  13. 13. Taxonomy for Everything, cont. Most of the content types have corresponding vocabularies. In this case, we create a web link and through the power of free tagging add a new person to our categorization, which immediately will work for faceted search and everywhere else we use taxonomy.
  14. 14. Taxonomy for Everything, cont.
  15. 15. Taxonomy for Everything, cont.
  16. 16. Taxonomy for Everything, cont. data.agaric.com based on work and concept by Kathleen Murtagh. E-mail ask@agaric.com for code or to be notified as it is released.
  17. 17. Flex Exposed Filter View with Taxonomy Leadel.net example courtesy Linnovate.net.
  18. 18. Contrib Taxonomy Modules • Top 10 – Tagadelic – Taxonomy Menu – Content Taxonomy – Taxonomy Manager – Feed Element Mapper – Taxonomy Breadcrumb – Menu Trails – Taxonomy Image – Taxonomy Access Control – Taxonomy Access Control Lite
  19. 19. Taxonomy Manager • Tool for managing large sets of terms
  20. 20. Taxonomy Manager - New Features • i18n support for multilingual vocabularies – language selector – translations
  21. 21. Taxonomy Manager - Double Tree
  22. 22. Term Edit • provides links on taxonomy listing pages to directly edit taxonomy terms
  23. 23. Content Taxonomy • CCK field type for referencing taxonomy terms • much more flexible than core taxonomy fields • D7: Taxonomy Fields are in core!
  24. 24. Content Taxonomy - Widgets • autocomplete • select lists • checkboxes / radio buttons • taxonomy tree
  25. 25. Widgets • Active Tags • Multiselect
  26. 26. Hierarchical Select • enhanced widget for letting the user select items in a hierarchy
  27. 27. Taxonomy in Drupal 7
  28. 28. Taxonomy entities
  29. 29. * Implement hook_field_info(). * * Field settings: * - allowed_values: a list array of one or more vocabulary trees: * - vid: a vocabulary ID. * - parent: a term ID of a term whose children are allowed. This should be * '0' if all terms in a vocabulary are allowed. The allowed values do not * include the parent term. * */ function taxonomy_field_info() { return array( 'taxonomy_term' => array( 'label' => t('Taxonomy term'), 'description' => t('This field stores a reference to a taxonomy term.'), 'default_widget' => 'options_select', 'default_formatter' => 'taxonomy_term_link', 'settings' => array( 'allowed_values' => array( array( Trees can be whole 'vid' => '0', 'parent' => '0', vocabularies or just ), pieces. ), ), ), ); }
  30. 30. 7 Drupal 8 wish list ● hook_vocabulary_info ● Taxonomy UI administration specific for vocabulary types (tags, controlled vocabularies, webs of knowledge) ● Vocabulary index ● Full support for SKOS specification ● Vocabulary sharing, import/export

×