You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/fieldtypes/member.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@
9
9
10
10
# Members Fieldtype
11
11
12
-
Members Fieldtype allows selecting one or multiple members and associating those with a channel entry
12
+
The Members Fieldtype allows selecting one or multiple members and associating those with a channel entry
13
13
14
14
[TOC]
15
15
16
-
Members fieldtype is the tool that allow you to connect Members to Channel Entries. This ability allows you to store very complex content in your Channel entries. For example, you could create a Channel called "Articles" and then create a Channel Field called "Authors" that is a Members fieldtype. You could then associate one or more Members with each Article entry. This would allow you to display the author's name, bio, photo, etc. on the Article page.
16
+
The Members fieldtype helps you connect Members to Channel Entries. This lets you create powerful relationships between Members and content in your Channel entries. For example, you could create a Channel called "Articles" and a Channel Field called "Authors" that uses the Members fieldtype. You could then associate one or more Members with each Article entry. This would allow you to display the author's name, bio, photo, etc. on the Article page.
17
17
18
18

19
19
@@ -36,16 +36,16 @@ Default ordering of members in the field's dropdown.
36
36
When set to yes, authors will be allowed to create multiple relationships in a single field.
37
37
38
38
#### Minimum selection
39
-
The minimum number of relationships that can be added to the field.
39
+
The minimum number of members that can be added to the field.
40
40
41
41
#### Maximum selection
42
-
The maximum number of relationships that can be added to the field.
42
+
The maximum number of members that can be added to the field.
43
43
44
44
#### Display Member IDs?
45
45
When enabled, member IDs will be displayed together with member screen name inside the field.
46
46
47
47
#### Defer field initialization?
48
-
When enabled, this field won’t initialize until the Edit Relationships button is clicked on. This can result in faster control panel page load times.
48
+
When enabled, this field won’t initialize until the Edit Members button is clicked on. This can result in faster control panel page load times.
49
49
50
50
## Template Tag Pair
51
51
@@ -142,30 +142,30 @@ In addition to using as template tag pair, the Members field can display its dat
142
142
### `:member_ids`
143
143
Fetching Member IDs Only
144
144
145
-
Sometimes it's useful to get just a list of IDs of related members, to pass on to another tag as parameter or similar. If you need to do this, you can use the single variable `:member_ids` shortcut modifier:
145
+
Sometimes it's useful to get just a list of IDs of related members to pass on to another tag as a parameter. If you need to do this you can use the single variable `:member_ids` shortcut modifier:
146
146
147
147
{members_field:member_ids}
148
148
149
-
Outputs in the format:
149
+
Which outputs the member IDs in the following format:
150
150
151
151
43|58|127
152
152
153
153
#### Parameters
154
154
155
-
The member field tag with `:member_ids` modifier has only one optional parameter, `delimiter`
155
+
The member field tag with the `:member_ids` modifier has an optional `delimiter` parameter.
156
156
157
157
By default the member IDs will be pipe-delimited, but you can choose to have them delimited with something else:
158
158
159
159
{members_field:member_ids delimiter=","}
160
160
161
-
Would output in the format:
161
+
Would output in the following format:
162
162
163
163
43,48,127
164
164
165
165
### `:length`
166
166
### `:total_rows`
167
167
168
-
Both of these modifiers can be used to display the number of members that are related via certain field
168
+
Both of these modifiers can be used to display the number of members that are related via a certain field
0 commit comments