1. Photo by Montrasio International
Advanced CCK & Views
ASU Drupal Users Group | May 2010
help.asu.edu/drupal | @asudrupal
2. Documentation & Help
⢠Install the Advanced Help module and then
visit mysite.asu.edu/admin/advanced_help
⢠Demo site: http://dug-demo.uto.asu.edu/
3. Views: Arguments
⢠Like ďŹlters, they provide input to the view.
⢠Commonly come from the URL, but donât
have to.
⢠Example: Podcasts
4. Views: Displays
⢠Displays allow you to have multiple forms
of output for a single base view.
⢠Each display can have its own settings.
5. Views: Relationships
⢠Relationships tie objects in the view to
other objects not necessarily available in
the view.
⢠Use to pull in and display this data in your
view.
6. Our site so far
⢠Content types: publisher, author, book
⢠Views: books
⢠Iâve added Author and Publisher pages
7. What weâll do
⢠Add navigation
⢠Get a standard output for cover images and
add them to the books listing
⢠Clicking on an author or publisher should
show us books by that author or publisher
⢠Add an admin interface
8. The Views & CCK
Toolkit
⢠Views
⢠Views Bulk Operations,Views Bonus,Views
Slideshow, Calendar, iTunes
⢠CCK
⢠Auto Node Title, Content Taxonomy, Date,
EmďŹeld, FileďŹeld, FileďŹeld Sources, ImageďŹeld
(w/ ImageAPI & ImageCache), Insert, Link
⢠Vertical Tabs (usability)