Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion docs/fieldtypes/fluid.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,31 @@ Alias of `:current_fieldtype`.

The total number of fields regardless of tag output criteria.

Additionally, the following variable are available when using custom field groups:
Additionally, the following variable are available **when using custom field groups**:

### `count_in_group`

{fluid_content:count_in_group}

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".

### `first_in_group`

{fluid_content:first_in_group}

True, if the current field is the first one in the current field group.

### `index_in_group`

{fluid_content:index_in_group}

The index of the field being displayed in the current field group starting at 0.

### `last_in_group`

{fluid_content:last_in_group}

True, if the current field is the last one in the current field group.

### `first_group`

Expand Down