Creating A Node Type

Creating a node type is easy. In this example we will create a node type for basic content entry consisting of a heading and a content entry point.

  1. Go to ‘The Office’ -> ‘Tools’ -> ‘Node Types’
  2. Click on the ‘Add Type’ button
  3. Next we have to fill out the form
    Type Name is used in <wt:list/> and <wt:node/> markup tags in the type attribute The Node Renaming Rule is used for the Node Browser (explained later on). It is recommended that you enter a data tag to ‘name’ the node. In this case we are using [wt:Heading]. Usually use the smallest amount of content that will be entered.
  4. Next we click the ‘Add an Attribute’ button
  5. Next fill out the form. In this instance we are adding the Heading attribute. Now since this is just a single line unformatted entry, we set the Attribute Type to ‘Plain Text’.
    The only required fields in this are Attribute Name, Attribute Type and Attribute Editable
  6. You will see now that the heading attribute has appeared in the list below. Click the Add an Attribute button again to add the Content attribute
  7. Fill out the form. This time we are selecting the ‘Rich Text’ Attribute Type because we need the user to be able to enter in as much formatted content as they like