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/fluid.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,31 @@ Alias of `:current_fieldtype`.
175
175
176
176
The total number of fields regardless of tag output criteria.
177
177
178
-
Additionally, the following variable are available when using custom field groups:
178
+
Additionally, the following variable are available **when using custom field groups**:
179
+
180
+
### `count_in_group`
181
+
182
+
{fluid_content:count_in_group}
183
+
184
+
The "count" out of the fields being displayed in a field group. If five fields are in a group, then for the fourth field the `count` variable would have a value of "4".
185
+
186
+
### `first_in_group`
187
+
188
+
{fluid_content:first_in_group}
189
+
190
+
True, if the current field is the first one in the current field group.
191
+
192
+
### `index_in_group`
193
+
194
+
{fluid_content:index_in_group}
195
+
196
+
The index of the field being displayed in the current field group starting at 0.
197
+
198
+
### `last_in_group`
199
+
200
+
{fluid_content:last_in_group}
201
+
202
+
True, if the current field is the last one in the current field group.
0 commit comments