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 Creating a book catalog with Drupal CCK and Views

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 Creating a book catalog with Drupal CCK and Views (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

Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxAbhayThakur200703
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Serviceankitnayak356677
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 

Recently uploaded (20)

Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptx
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 

Creating a book catalog with Drupal CCK and Views

  • 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