How to use CCK

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nodereference_autocomplete_access' was given in /home/mnnnecdq/public_html/drupalme/includes/menu.inc on line 452.
Friday, November 6, 2009 - 12:29

Content Construction Kit is one of the most downloaded modules at drupal.org. The module is so populare that it's functionality will be buildt into the next Drupal release. If you need extra functionality, a new content type or need to modify existing ones, this module is a must. It's a good trick to know what you want before you install it, there are several cck-addon's and you can be confused at times. Take it easy, start with a simple text field and when you feel comfortable, go further.

1. Download and install the module. Select all is a nice start :-)
2. When done, go to Site building - Content types
3. Add a new content type.
4. The first thing you have to do is to give it a unique name and which type it is. You could also give it a description, good thing to do if you have other users.
5. Submission for settings is default. (If you don't need the bodyfield leave it blank.)
6. I do not want it to be Published to front page at this time.
7. People should be able to comment on the tutorials. Thats it. Hit save the new content type.
8. In the list you should now have a Content type called Tutorials. Click the Manage Fields
9. I would like to add a field called Tip. Label it Tip, field name should be tip and it should be a Text area. Click submit.
10. Global settings; 1 value and Filtered text (allow linebreaks etc.) Click Save field settings when done.

Comments

Add comment

The content of this field is kept private and will not be shown publicly.