Loading...
 
Skip to main content

Features / Usability


display individual fields for item link

I have a tracker with two fields. The first is a user selector. The second is an item link. I want to display multiple fields from the linked item.

(data simplified for easier discussion)

5 - Libraries
12 - user (user selector)
13 - book (item link; trackerId = 2, field = 20)

6-References
20 - itemId (auto increment)
21 - title (string)
22 - author (string)
23- publisher (string)
24 - date (number)

I have a page for displaying the items belonging to a given user (trackerlist plugin). I want to display the results using a wiki page template (pretty tracker).

If I use the "multiple fields" option for the item link the fields are simply concatenated and without formatting when I display {$f_13}.

I tried referencing the linked fields directly in the template page (e.g. $f_21, $f_22}) but the returned values are always the same (perhaps first item in linked tracker - I did not check).

I tried using a trackerlist plugin within the wiki template, but this retuned no results.

Copy to clipboard
{trackerlist trackerId=2, itemId=$f_13}


To test, I tried using a valid item from tracker 2.

Copy to clipboard
{trackerlist trackerId=2, itemId="901"}


At best, I should get the same results n times, where n is the number of items in tracker 2. But it returns just one. This seems to match the documentation:
https://doc.tiki.org/PluginTrackerList#Nested_plugins_in_pretty_templatesQuestion. When I read this I wasn't sure if it applied to me. Apparently it does.

So, is there a way to display individual fields in the linked item?