CCK is content construction kit that enhances standard Joomla content manager and helps to implement almost all your ideas of website creation. CCK allows you to make up your own data structure - unlimited nested and
multiple categories for each content item.
Some examples what you can create using OS CCK:
blog with comments and rating system
real estate listings
All these websites you can create with help of custom fields (content types) like checkboxes, select, radio buttons, downloadable files and more. These fields give you great flexibility to create exactly what you need.
Read more about OS CCK field types.
How to create structure of the website content using OS CCK?
The following tutorial is step by step instruction to create structure of the website content using OS CCK.
There are simple steps you need to do.
1. Create entities
An Entity is the largest piece of content in OS CCK.
To create entity, go to Admin Area -> Components -> OS CCK -> Manage Entities and click on button Add
2. Create set of fields for each entity
For each entity you need to create specific set of fields by adding fields one by one. You can sort fields by Entities for more convenient use. In order to create field go to Components -> OS CCK -> Manage Fields and click on button Add
3. Create layouts
Layout is the visual structure of the page that consists of pre-created fields. In OS CCK to add some instance and display it on frontend, you have to add two layouts: at first Add instance layout and then Show instance layout.
To create layout, go to Component OS CCK -> Layouts and click on button Add
After choosing the type of future layout, the window with three functional parts will be opened.
On the left side there are all the fields that were created before. In the middle you can see button Add row. By clicking on it you can choose the number of columns for the fist row (from one to four). After adding the first row you can place there fields simply with help of Drag & Drop. When you finish arranging the fields in rows and columns, have a look at the right side. There you'll find options panel, where you can change main and styling options for the field, row, column and entire form.
4. Create instances
An Instance is the smallest piece of content in OS CCK. You will add an instance by filling in fields that you created before. You can do this in tab Components -> OS CCK -> Instances
5. Create menu item
To display the selected layout on the front end you have go to Menus -> Main Menu -> Add New Menu Item, click button Select and choose type of content in OS CCK. Don't forget to specify what layout you want to display in Params of Menu Item.
Creating categories and subcategories
Also in OS CCK you can assign an instance (the smallest piece of content) to several categories and subcategories. By creating categories and subcategories you make structure of your content. To do this go to Components -> OS CCK -> Categories and click on button Add
That's all! Now you can create your own listing with custom fields easily with help of OS CCK