Loading...
 
Features / Usability

Features / Usability


Displaying Item List tracker data in a table

posts: 22

Hi,

I am trying to display information from a tracker in a wiki page using TrackerList plugin with a wiki page as a template.

One of the fields in the tracker is of the type "Item List" which is linked to another tracker.

The Item List field is configured to display several alternate fields from the other tracker, not the Title field in the Item Link tracker.

I want to split the information in the Item List field into the individual fields as they are the other tracker and display them in a table.

i.e. Item List field (Field ID 250) shows Name Address and Telephone Number e.g. John Smith 1 Main Street 1234567

I want to display the information in individual table cells as below

Name       | Address       | Telephone
--------------------------------------
John Smith | 1 Main Street | 1234567
--------------------------------------
Jane Doe   | 2 High Street | 987654
--------------------------------------


Not as the data is displayed in the Item List field

  • John Smith 1 Main Street 1234567
  • Jane Doe 2 High Street 987654



Is there a way of splitting the Item List field into its separate components?

I have had a little success by creating 3 separate Item List fields for each field in the remote tracker, and using css in the wiki template to remove the bullet points before each entry. The problem with this method is that all the data in each column is seen as a single cell, hence the alignment is wrong when the data wraps onto more than one line. I get

Name       | Address  | Telephone
--------------------------------------
John Smith | 1 Main   | 1234567
Jane Doe   | Street   | 987654
           | 2 High   |
           | Street   | 
--------------------------------------

My table code where $f_29x is the Item List field
Copy to clipboard
{FANCYTABLE(head=" Name | Address | Telephone ")} {$f_290}|{$f_291}|{$f_292} {FANCYTABLE}


Does anyone know how to do this?

Thank you,

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting