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 layouts in CCK
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. This is very important: Without create "CCK Add layout" - you will can't add new Items. Without create "CCK Show layout" - you will can't show your Items.
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.
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. On the left side there are all the fields that were created before.
There you may: add new fields, add created before layouts and add created before modules by clicking on Add new button.
Adding new fields in OrdaSoft cck:
New field you may add at time edit/create CCK layout.
When adding a new field window opens where you can edit previously created fields (edit button), delete unnecessary fields (be noted and press delete) and create a new field (new button).
Pressing the new button will open a window in which you will need to enter the name of the field and select its type. More information about the types of fields you can read here. That would save your changes, click Save and Close.
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.
3. 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
4. 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