Project

General

Profile

Actions

Feature proposal #7732

closed

Implement support for a substitution based template

Added by krileon over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
30 September 2019
Due date:
% Done:

100%

Estimated time:

Description

Currently for outputting profile display you need to use a PHP based template. This however should allow for per-row substitution driven template usage. A new "Custom" option should be added to Display Template within the individual fields for allowing supplying a per-row substitution driven template.

Actions #1

Updated by krileon over 1 year ago

  • Status changed from Assigned to Rejected
  • Target version deleted (1.3.0)
  • % Done changed from 0 to 100

This seams like a silly way to avoid using a Custom HTML in the field group. Need to find a better way to handle this.

Actions #2

Updated by krileon over 1 year ago

  • Status changed from Rejected to Assigned
  • Priority changed from Normal to High
  • Target version set to 1.3.0
  • % Done changed from 100 to 0

Re-opened as this could actually be very useful if supported for both profile and edit views. So for example you could easily customize how the fields are grouped together in the edit view. Even having fields displayed side by side if desired using custom HTML with substitutions. Probably best for this to just apply to the row with the rest of the output to use the default template.

Actions #3

Updated by krileon over 1 year ago

Should be extended further to support supplying other parts of the template as custom substitution HTML. Any parts missing will just inherit from the default template.

Actions #4

Updated by krileon over 1 year ago

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

Have also implemented parameters to control the formatting of fields in the field group. By default they output div rows and optionally can output span rows or have no formatting at all for just outputting only the input it self.

Actions #5

Updated by krileon over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF