SlideShare a Scribd company logo
1 of 13
Photo by Montrasio International




CCK & Views
 ASU Drupal Users Group
  April 2008 / April 2010
Content Creation Kit

• Use to:
 • Create new content types
 • Add and organize additional fields to the
    node creation form
 • Simple content display controls
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
Creating a book catalog


• Content types: publisher, author, book
• Views: publishers, authors, books
Publisher content type

• Fields:
 • Name (title)
 • Description (body)
Author content type

• Fields:
 • Name (title)
 • Biography (body)
 • Birth date (date)
Book content type
• Fields:
 • Title (title)
 • Description (body)
 • Author (node reference)
 • Pages (number)
 • Publisher (node reference)
 • Publish date (date)
 • ISBN (text)
 • Cover image (imagefield)
Catalog view


• Show: title, author, description, cover,
  publish date
• Filter by: author, publish date
Further refinements

• Don’t forget about taxonomies:
 • Book genre (non-fiction, sci-fi, mystery,
    etc.)
 • Book format (paperback, hardcover, etc.)
 • What else?
Theming the output


• CCK: Use the theme layer and / or Panels
• Views: Use Theme Information from View
  to get sample template files
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.”
CCK + Views

• Events and events calendars
• Podcasts
• Galleries
• Course catalog
• Directory
Links
• CCK and Views modules
• Imagefield module
• Filefield module
• Date module
• Views Bulk Operations
• Full list of CCK-related modules

More Related Content

Similar to Dug cck and views 2010

Understanding the ins and outs of word press metadata
Understanding the ins and outs of word press metadataUnderstanding the ins and outs of word press metadata
Understanding the ins and outs of word press metadataNicholas Batik
 
BEAMing Technology
BEAMing TechnologyBEAMing Technology
BEAMing TechnologyNicoleBranch
 
SPS Dayton Content Types
SPS Dayton Content TypesSPS Dayton Content Types
SPS Dayton Content TypesPatrick Tucker
 
Who Cited Me? An Introduction to Citation Searching and Analysis
Who Cited Me? An Introduction to Citation Searching and AnalysisWho Cited Me? An Introduction to Citation Searching and Analysis
Who Cited Me? An Introduction to Citation Searching and Analysisrgkwml
 
BEAMingEngineering100118
BEAMingEngineering100118BEAMingEngineering100118
BEAMingEngineering100118Susan Boyd
 
BEAMengr041719
BEAMengr041719BEAMengr041719
BEAMengr041719Susan Boyd
 
Beamengr012219
Beamengr012219Beamengr012219
Beamengr012219Susan Boyd
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroomlibrarywebchic
 
Maximising sales through quality metadata
Maximising sales through quality metadataMaximising sales through quality metadata
Maximising sales through quality metadataBowker
 
In Search of a Semantic Book Search Engine: Are We There Yet?
In Search of a Semantic Book Search Engine: Are We There Yet?In Search of a Semantic Book Search Engine: Are We There Yet?
In Search of a Semantic Book Search Engine: Are We There Yet?Irfan Ullah
 
Advanced Wikipedia Editing Workshop
Advanced Wikipedia Editing WorkshopAdvanced Wikipedia Editing Workshop
Advanced Wikipedia Editing Workshopdorohoward
 
Classics and Ancient History pre-dissertation workshop (2014)
Classics and Ancient History pre-dissertation workshop (2014)Classics and Ancient History pre-dissertation workshop (2014)
Classics and Ancient History pre-dissertation workshop (2014)Richard Holmes
 
WordPress Blogs 101
WordPress Blogs 101WordPress Blogs 101
WordPress Blogs 101Tom McGee
 
MagillOnLiterature Plus - Ready Reference Instructional Presentation
MagillOnLiterature Plus - Ready Reference Instructional Presentation MagillOnLiterature Plus - Ready Reference Instructional Presentation
MagillOnLiterature Plus - Ready Reference Instructional Presentation Rebecca Heard
 
Beam engl112 012618
Beam engl112 012618Beam engl112 012618
Beam engl112 012618Susan Boyd
 
Group 3 information architecture
Group 3 information architectureGroup 3 information architecture
Group 3 information architecturenm_eam
 
WEB AUTHORING - GROUP 4
WEB AUTHORING - GROUP 4WEB AUTHORING - GROUP 4
WEB AUTHORING - GROUP 4ivytran87
 
Group 3 information architecture-1
Group 3 information architecture-1Group 3 information architecture-1
Group 3 information architecture-1ivytran87
 
Research paper ppt 11 15 12session2ss
Research paper ppt 11 15 12session2ssResearch paper ppt 11 15 12session2ss
Research paper ppt 11 15 12session2sskmclauchlan
 
Collaborative document tips
Collaborative document tipsCollaborative document tips
Collaborative document tipsclynnc
 

Similar to Dug cck and views 2010 (20)

Understanding the ins and outs of word press metadata
Understanding the ins and outs of word press metadataUnderstanding the ins and outs of word press metadata
Understanding the ins and outs of word press metadata
 
BEAMing Technology
BEAMing TechnologyBEAMing Technology
BEAMing Technology
 
SPS Dayton Content Types
SPS Dayton Content TypesSPS Dayton Content Types
SPS Dayton Content Types
 
Who Cited Me? An Introduction to Citation Searching and Analysis
Who Cited Me? An Introduction to Citation Searching and AnalysisWho Cited Me? An Introduction to Citation Searching and Analysis
Who Cited Me? An Introduction to Citation Searching and Analysis
 
BEAMingEngineering100118
BEAMingEngineering100118BEAMingEngineering100118
BEAMingEngineering100118
 
BEAMengr041719
BEAMengr041719BEAMengr041719
BEAMengr041719
 
Beamengr012219
Beamengr012219Beamengr012219
Beamengr012219
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroom
 
Maximising sales through quality metadata
Maximising sales through quality metadataMaximising sales through quality metadata
Maximising sales through quality metadata
 
In Search of a Semantic Book Search Engine: Are We There Yet?
In Search of a Semantic Book Search Engine: Are We There Yet?In Search of a Semantic Book Search Engine: Are We There Yet?
In Search of a Semantic Book Search Engine: Are We There Yet?
 
Advanced Wikipedia Editing Workshop
Advanced Wikipedia Editing WorkshopAdvanced Wikipedia Editing Workshop
Advanced Wikipedia Editing Workshop
 
Classics and Ancient History pre-dissertation workshop (2014)
Classics and Ancient History pre-dissertation workshop (2014)Classics and Ancient History pre-dissertation workshop (2014)
Classics and Ancient History pre-dissertation workshop (2014)
 
WordPress Blogs 101
WordPress Blogs 101WordPress Blogs 101
WordPress Blogs 101
 
MagillOnLiterature Plus - Ready Reference Instructional Presentation
MagillOnLiterature Plus - Ready Reference Instructional Presentation MagillOnLiterature Plus - Ready Reference Instructional Presentation
MagillOnLiterature Plus - Ready Reference Instructional Presentation
 
Beam engl112 012618
Beam engl112 012618Beam engl112 012618
Beam engl112 012618
 
Group 3 information architecture
Group 3 information architectureGroup 3 information architecture
Group 3 information architecture
 
WEB AUTHORING - GROUP 4
WEB AUTHORING - GROUP 4WEB AUTHORING - GROUP 4
WEB AUTHORING - GROUP 4
 
Group 3 information architecture-1
Group 3 information architecture-1Group 3 information architecture-1
Group 3 information architecture-1
 
Research paper ppt 11 15 12session2ss
Research paper ppt 11 15 12session2ssResearch paper ppt 11 15 12session2ss
Research paper ppt 11 15 12session2ss
 
Collaborative document tips
Collaborative document tipsCollaborative document tips
Collaborative document tips
 

Recently uploaded

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Sheetaleventcompany
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel
 
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLWhitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLkapoorjyoti4444
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentationuneakwhite
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Falcon Invoice Discounting
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 MonthsIndeedSEO
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...amitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...lizamodels9
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...lizamodels9
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...allensay1
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon investment
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...lizamodels9
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperityhemanthkumar470700
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 

Recently uploaded (20)

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLWhitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
Whitefield CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
Call Girls From Raj Nagar Extension Ghaziabad❤️8448577510 ⊹Best Escorts Servi...
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 

Dug cck and views 2010

  • 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

Editor's Notes

  1. Show database (in phpMyAdmin) to show field creation