Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Commit 32cb96a

Browse files
Updated docs
1 parent d2c026b commit 32cb96a

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/assets/img/screenshot-01.png

6.3 KB
Loading

docs/developers-guide.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ The prevalue editor allows you to configure the following properties.
4646

4747
| Member | Type | Description |
4848
|-----------------|---------|-------------|
49-
| Doc Type | List | Selects the doc type you want to use as the blue print for your list items. |
50-
| Tab | String | The alias of the tab you wish to use as your list item editor. If not set, the first non "Properties" tab will be used. |
51-
| Label Template | String | An template to use for generating list item labels. Use the syntax `{{propertyAlias}}` to use the values of your doc type properties. If not set, defaults to a standard "Item 1", "Item 2", "Item 3" template. |
49+
| Doc Types | List | Defines a list of doc types to use as data blue prints for this **Nested Content** instance. For each doc type you can provide the alias of the tab you wish to render (first tab is used by default if not set) as well as a template for generating list item labels using the syntax `{{propertyAlias}}`. |
5250
| Min Items | Int | Sets the minimum number of items that should be allowed in the list. If greater than 0, **Nested Content** will pre-populate your list with the minimum amount of allowed items and prevent deleting items below this level. Defaults to 0.
5351
| Max Itemd | Int | Sets the maximum number of items that should be allowed in the list. If greater than 0, **Nested Content** will prevent new items being added to the list above this threshold. Defaults to 0. |
5452
| Confirm Deletes | Boolean | Enabling this will require item deletions to require a confirmation before being deleted. Defaults to TRUE |
53+
| Show Icons | Boolean | Enabling this will display the items doc type icon next to the name in the **Nested Content** list. |
5554
| Hide Label | Boolean | Enabling this will hide the property editors label and expand the **Nested Content** property editor to the full with of the editor window. |
5655

5756
Once your data type has been configured, simply set-up a property on your page doc type using your new data type and you are set to start editing.
@@ -66,7 +65,15 @@ When viewing a **Nested Content** editor for the first time, you’ll be present
6665

6766
![Nested Content - Add Item](assets/img/screenshot-02.png)
6867

69-
Simply click the ![Nested Content - Plus Icon](assets/img/icon-plus.png) icon and a new item will be added to the list with the editor form displayed.
68+
Simply click the ![Nested Content - Plus Icon](assets/img/icon-plus.png) icon to start creating a new item in the list.
69+
70+
If your **Nested Content** editor is configured with multiple doc types you will be presented with a dialog window to select which doc type you would like to use.
71+
72+
![Nested Content - Plus Icon](assets/img/screenshot-02.5.png)
73+
74+
Simply click the icon of the doc type you wish to use and a new items will be created in the list using that doc type.
75+
76+
If you only have one doc type configured for your **Nested Content** editor, then clicking the ![Nested Content - Plus Icon](assets/img/icon-plus.png) will not display the dialog and instead will jump straight to inserting an entry in the editor for you ready to edit.
7077

7178
![Nested Content - New Item](assets/img/screenshot-03.png)
7279

0 commit comments

Comments
 (0)