Feature proposal #7732
closed
Implement support for a substitution based template
Added by krileon about 5 years ago.
Updated about 5 years ago.
Start date:
30 September 2019
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.
- 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.
- 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.
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.
- 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.
- Status changed from Resolved to Closed
Also available in: Atom
PDF