Zesty.io has approximately 20 field datatype options. Each option is named and describe below. As you go through adding fields to your Content Models, you'll give each field a label and reference name. The label is what you'll see in the Content section as you're making your entries. The reference is what you'll use to call that field using Parsley for templating your views, snippets, and/or feeds in the Editor section.
This is a field that you can type in and add images to. You can drag and drop images into the field, and when you highlight text that you've already typed a box pops up with simple formatting options such as bold, italic, blockquote, and more.
This is a field where you can enter color values such as '#ffffff' or 'blue'. It has a limit of 150 characters. It currently does not validate the hex code or have a color picker.
This is a field where you can enter a dollar sign ($), numbers, and up to 2 decimal points. For example: $15.99. It has a limit of 150 characters.
This is a field where you can select a date from a pop-up calendar, you cannot type a date into the field, it must be selected from the calendar. The date is string-formatted as YYYY-MM-DD. To apply date formatting use ".date()" call and include PHP data format characters.
This field creates a dropdown with different options made up of key:value pairs.
This creates a text field for a link which requires the form of a URL, e.g., http:// or https://. It has a maximum character limit of 150 characters.
This creates a field for inserting an image from the Media Bin. The number of images can be limited by using the 'limit' parameter in your image tag. Note that when calling the field in your view, you must use the
This field creates a dropdown with all available internal links. The dropdown will have all the pages on the site, sorted alphabetically by Navigation title. In the View what prints out is the ZID associated with the selected page. Use the Parsley call
This field creates an open text area that accepts markdown syntax and formatting.
This creates a field for numbers (with optional decimal point), with a max input of 150 characters. Commas or currency signs are not allowed.
One to Many
This field allows users to create one-to-many relationship between a page and a dataset, a pageset and a dataset, or a dataset and a dataset.
One to One
This field allows users to create one-to-one relationship between a page and a dataset, a pageset and a dataset, or a dataset and a dataset.
This creates a unique field to allow for a numerical sorting of pagesets and datasets. You can change the default sort number with the plus and minus buttons in the pageset or dataset, as well as in the table view.
This field creates a text field limited to 150 characters.
This creates an open text area with an unlimited character count. The bottom right corner is draggable for resizing. Line breaks print out as tags unless you add '_raw' to the end of the field name in the Parsley call.
This creates a customized toggle field made up of key:value pairs. The key will either be 0 (zero) or 1 (one), however the value is customizable. Since the key is either 0 or 1, the logic for if-statements or where-statements will take the form of
This field generates a UUID when your content model is saved.
This creates a 'What You See Is What You Get' (WYSIWYG) text field, i.e., all formatting that you have, such as bolded text, font size, italics, etc. will be exactly what you see on your site.