Project

General

Profile

Actions

Feature proposal #7873

closed

Implement pseudo fields for first and last fieldgroup rows

Added by krileon about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
05 March 2020
Due date:
% Done:

100%

Estimated time:

Description

This should allow easy access to the first or last row of a fieldgroup. Example as follows.

cb_fieldgroup__first__cb_text
cb_fieldgroup__last__cb_text

https://www.joomlapolis.com/forum/153-professional-member-support/242183-accessing-the-individual-fields-within-a-field-group

Actions #1

Updated by beat about 1 year ago

Wouldn't it be more generic to have a single pseudo-field-type e.g. cb_fieldgroup_subgroupfield, and then in its parameters a way to select one or multiple ones with a configurable separator for the implode ?

Actions #2

Updated by krileon 3 months ago

  • Subject changed from Implement pseudo fields for fist and last fieldgroup rows to Implement pseudo fields for first and last fieldgroup rows
  • Priority changed from Normal to Low
Actions #3

Updated by krileon about 2 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Improved substitution support for field groups. The following is the supported substitution structure.

[FIELDGROUPNAME__INDEX__FIELDNAME]
or
[FIELDGROUPNAME_INDEX_FIELDNAME]

Where INDEX is you must supply an integer beginning from 0. This already works in current release. However, you can now supply an index of "first", "start", "last", or "end" to get the first row or last row easily. Additional text based indexes maybe added later, but at this time there doesn't seam to be a need.

Actions #4

Updated by krileon about 2 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF