Your SlideShare is downloading. ×
0
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Dug cck and views   2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dug cck and views 2010

415

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
415
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide





  • Show database (in phpMyAdmin) to show field creation







  • Transcript

    • 1. Photo by Montrasio International CCK & Views ASU Drupal Users Group April 2008 / April 2010
    • 2. Content Creation Kit • Use to: • Create new content types • Add and organize additional fields to the node creation form • Simple content display controls
    • 3. Views • Views are sets of content • Creating a view is like building a database query on your nodes. • Use Views to: • Create displays of sets of content • Provide a UI to filter sets of content
    • 4. Creating a book catalog • Content types: publisher, author, book • Views: publishers, authors, books
    • 5. Publisher content type • Fields: • Name (title) • Description (body)
    • 6. Author content type • Fields: • Name (title) • Biography (body) • Birth date (date)
    • 7. Book content type • Fields: • Title (title) • Description (body) • Author (node reference) • Pages (number) • Publisher (node reference) • Publish date (date) • ISBN (text) • Cover image (imagefield)
    • 8. Catalog view • Show: title, author, description, cover, publish date • Filter by: author, publish date
    • 9. Further refinements • Don’t forget about taxonomies: • Book genre (non-fiction, sci-fi, mystery, etc.) • Book format (paperback, hardcover, etc.) • What else?
    • 10. Theming the output • CCK: Use the theme layer and / or Panels • Views: Use Theme Information from View to get sample template files
    • 11. Things to keep in mind • Keep content types as generic as possible. Use taxonomies to differentiate when reasonable. i.e. Just “book” not “non-fiction book” • Conversely, use new content types when taxonomies aren’t “enough.”
    • 12. CCK + Views • Events and events calendars • Podcasts • Galleries • Course catalog • Directory
    • 13. Links • CCK and Views modules • Imagefield module • Filefield module • Date module • Views Bulk Operations • Full list of CCK-related modules

    ×