DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

../../_images/logo_dataviewer6.png

Creating a new Datatype

Please go to the list module or the DataViewer Backend Module, click on "Create a new record" and select "Datatype". You need to have fields for assigning them to the Datatype. If you did not create fields, you can assign them later.

../../_images/new_datatype.jpg

Configuration

Tab "General"

Name
A name for your Datatype (e.g. Movie, News, Job, Address or any other you want!)
Description
A description text, that will be showed in the backend when creating/editing records.
../../_images/new_record_info.jpg
Template File for Rendering (PartViewHelper)
This Datatype can have a separate rendering template. When used the PartViewHelper, it can render the whole Datatype as a finalized html result.
Fields
The fields, that the Datatype contains. The ordering of the fields is used in displaying the record.
Create tabs and assign fields
You can create tabs and assign fields to them. There is also a possibility to put an Font Awesome Icon to the Tab-Name.

Tab "Appearance"

Icon
The icon of the Datatype that will be displayed in the backend.
Color
Lets you change the background color, when you are creating/editing a record.
Title Divider Character
You can assign a divider, when you use fields as record title. The fields are bound together and imploded by the selected character.
Hide Records of this type in list
If this checkbox is enabled, all records of this type will be hidden in the backend lists. This option can be used, when a Datatype can have other Datatypes as Inline-Elements. These elements are not needed to be displayed in the backend.
Hide Button to Add new Record
Hides the button in the toolbar to create a new record of a datatype that is found on the selected page.