Loading...
 
Features / Usability

Features / Usability


How can I link to a tracker item from a wiki page?

posts: 26
I created a tracked called "RPG_actions". I created an item with the field "name" equal to "detect transmissions". I now want to link to that item from a wiki page. When a user clicks on the link, the user will see data from all the fields of the action. I tried to link simply as detect transmissions and various combinations of the tracker name and item name, e.g. RPG_actions_detect transmissions. Nothing worked. What is the correct way?
posts: 126886 United Kingdom

Usually you need to link to the item by it's itemId, e.g. item42 if you have sefurl enabled.

There is a pref to make the item title be appended on the end of the url, like http://dev.tiki.org/item7639-Additions-to-Tracker-Field-Rules?from=Developer-Dashboard

If you want to link to just the title then you'll need to use the list plugin, something like:

Copy to clipboard
{LIST()} {filter type="trackeritem"} {filter field="tracker_id" exact="1"} {filter field="title" exact="detect transmissions"} {LIST}

(untested ;)
HTH

posts: 26
Thank you!