Skip to Content

DrupalCamp Montreal 2009: Advanced Views

Advanced Views Examples: Arguments and Relationships



  • Introduction
    • Michelle Lauer
    • Twitter: @bymiche
    • Drupal.org: miche
    • Blog: developedbymiche.com (cybelledesign.com)
    • Download: cybelledesign.com/downloads
  • Arguments
    • Definition = Arguments are parts of the URL of a view that can be used to reduce the result-set. ~drupal.org
  • Arguments Example
    • A Glossary of Terms
      • Contributed Modules needed
        • cck (nodereference)
        • token
        • pathauto
        • views
        • custom site module
      • Create content type
      • Write token code
      • Configure Pathauto
      • Create Content
      • Create View
  • Relationships
    • Definition = A relationship allows you to expand the original query to include additional objects. ~Matt Tucker, PingVision
  • Relationships Example
    • Side Content
      • Contributed Modules Needed
        • cck (nodereference)
        • back reference
        • views
      • Create Content Type
      • Edit Content Type
      • Create Content
      • Create View
  • From the Community
    • @bymiche : Looking for great example ideas for real-world usage of #drupal views arguments or relationships. Respond please!
    • @DamienMcKenna : separate content type for images, linked to articles et al for thumbnails, in-page images, etc
    • @xtfer : All the content on track.gov.au is powered through views, panels, and arguments provided by node-reference and relationships.
    • @decibelplaces : Locavore Network http://bit.ly/2OuzTI - Image Gallery 6.x uses #Drupal #Views - http://bit.ly/3pNlHm - example http://bit.ly/3qZVgM
    • @kylemathews : http://bit.ly/2F91s9 might work - How to create custom ical exports by category using Drupal and the Views and Calendar modules
    • Nodequeue uses relationships instead of filters
  • More Information
  • Questions?
    • Michelle Lauer
    • Twitter: @bymiche
    • Drupal.org: miche
    • Blog: developedbymiche.com (cybelledesign.com)
    • Download: cybelledesign.com/downloads
AttachmentSize
Montreal2009-AdvancedViews.pdf1.91 MB

Comments

Glad my example proved useful

Glad my example proved useful :-)



Find Me

  • twitter.png
  • linkedin.png
  • drupal.png
  • facebook.png
  • smugmug.png
  • kaboodle.png
  • youtube.png