Skip to content
kilica edited this page Jul 27, 2012 · 1 revision

XCCK Field Definition

xCCK allows you to add fields as you wish ! According to the module's use, you can add the fields of text, integral, url link, date, select box, checkbox, category, etc.

Only Administrator can add or change these fields. To edit fields, login with admin account then click the 'Add a definition' link on the top of xCCK module page.

File:definition_add.png

Type of Field

  • string: 1 line text(within 255 characters) without line break.
  • text: Text with multiple lines with BB Code / HTML Wysiwyg Editor.
  • int: Integral field.
  • date: Date field. Calendar date picker is provided when input. With optional setting, you can set time unit by hour, 30 min, 15min, 10min, 1min.
  • uri: URL address.
  • selectbox: Select box field.
  • checkbox: Check box field.
  • category: Select category from Legacy_Category data.

Add a Field

File:definition_edit.png

  • Field Name: A unique name for the field just created. Label Label used to display on the form, where a more meaningful name can be chosen
  • Field Type: The type you would like to create be it selectbox, text area, checkbox...
  • Validation: Validation type of the field
  • Required: Is the created field mandatory or not?
  • Weight: The weight of the field, meaning the ranking where the field will be displayed in the form. This is currently how the template is created.
  • Description: Text area where one can described the newly created field, for later use and others to understand the field just created .
  • OPTIONS: The options/values in the case of e.g. selectbox, checkbox...
Clone this wiki locally