Project

General

Profile

Actions

Feature proposal #5672

closed

Implement field by field template support

Feature proposal #5672: Implement field by field template support

Added by krileon about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 December 2015
Due date:
% Done:

100%

Estimated time:

Description

This should be a new display mode that lets you select a template to use for the output. The template will be sent the raw SQL data so you can completely customize with PHP and CSS the fields results.

Updated by krileon about 10 years ago Actions #1

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

Would make field output too heavy (slow)

Updated by krileon about 10 years ago Actions #2

  • Status changed from Rejected to Assigned
  • Target version set to 778
  • % Done changed from 100 to 0

Add the template parse function directly to the field class and this will be fine (not heavy).

Updated by krileon almost 10 years ago Actions #3

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

Updated by krileon almost 10 years ago Actions #4

  • Status changed from Rejected to Assigned
  • Target version set to 778
  • % Done changed from 100 to 0

Updated by krileon almost 10 years ago Actions #5

  • Status changed from Assigned to Resolved
  • Target version changed from 778 to 5.0.0
  • % Done changed from 0 to 100

New output mode lets you use a template for the display. Simply loads the display.php template file and passes the database object to it. From there you can request the results in a number of formats using database API (e.g. as an object, array, etc..).

Updated by krileon almost 10 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom