Loading...
 
Skip to main content

Themes


Problem with tracker layout using wiki page as template

I'm trying to custom format tracker data using trackerlist and calling a separate wiki page as a formatting template to put in table form using fieldId variables. I want to do it this way in order to have particular columns shown with specific fonts/styling.

A simple "Listing" page for a tracker with 10 items with this code:

Copy to clipboard
{TRACKERLIST(trackerId=1, fields=1:2:3, view=page, max=-1, wiki="Layout TPL") /}


And a simple "Layout TPL" template page with this code:

Copy to clipboard
||Col 1 Header|Col 2 Header|Col 3 Header||{$f_1}|{$f_2}|{$f_3}||


results in output of 10 separate tables with the column headers repeating after each tracker item.

I'm trying to display the column headers once with the items running in subsequent rows in the table.

Is there some simple syntax I'm missing?

Thanks