CCK – Content Construction Kit and Views
CCK and Views Modules builds together very important part of Drupal’s magic.They are used to create data types and alter the way how they are displayed.
Content Construction Kit
Drupal comes with content types like web page and blog. For each content type, you can easily ‘create content' and submit a new web page, blog entry, etc. But perhaps your needs do not fit to those models of text simple entries (with eventual attachments, like images).
For instance, if you would like to make a collection of famous quotations, and you want to track the also the author’s name and the source of that quotation (book title, for instance).
Views module works together with CCK. Essentially, Views is a smart query builder for displaying and filtering results. In our example, you want perhaps to filter and display 10 most popular quotations of Winston Churchill (popularity is based on the number of clicks on your web site).
- You want a way to display a block with the 5 most recent posts of some particular type (News or Blogs, for instance).
- You like your default homepage view, but you want to sort some elements on it differently.
- You want create a monthly archive of your blogs that displays a link in the form of "Month Name, Subject (Number of Posts in Month)"
Check out other benefits
Drupal is flexible and easy to extend
Drupal is reliable, efficient and robust
Secret Weapon of Drupal No. 1: Security
More about Security aspects of Drupal ...
Secret Weapon of Drupal No. 2: Taxonomy
More About the Power of Taxonomy ...
Secret Weapon of Drupal No. 3: CCK & Views
It allows you to define custom fields in your content types. For instance, you want to make a collection of famous quotations, and you want to track the author, the quotation and the source of that quotation. And Views can help you to create different lists of quotations: you can sort them alphabetically, or display only quotations of Winston Churchill etc.
More About the Power of CCK & Views ...
Find out how we can help you.
This is only the beginning of the possibilities offered by CCK & Views. Please contact us for further information about the capabilities of CCK & Views and our Drupal services.