Loading...
 
Features / Usability

Features / Usability


Re: Can you link a TrackerField type url using plugin List?

posts: 22

Hi,

I think you can. In the tracker make sure that under the options for the URL field, the URL is set to "Display as a link".

Your use of the LIST command is a bit different to mine, as you have combined the Output and Format statements on the same line of code, I do not know if this is possible or not. This is what I have done, and I think it gives the result you want, selecting the URL from the list opens the website listed. Instead of "objectlink" for the format I have used "trackerrender".
See below.
My tracker has two fields - url which is a URL field and desc which is a text area.

I hope this helps.

List Code
Copy to clipboard
{LIST()} {filter field="tracker_id" content="33"} {OUTPUT(template="table")} {column field="url" label="WebPage" sort="title" mode="raw"} {column field="desc" label="Description" mode="raw"} {tablesorter server="n" sortable="type:reset" tsortcolumns="type:text|type:text" tsfilters="type:text|type:text" tspaginate="max:10" sortList="[0,0]"} {OUTPUT} {FORMAT(name="url")}{display name="tracker_field_url" format=trackerrender}{FORMAT} {FORMAT(name="desc")}{display name="tracker_field_desc" format=snippet length=500 suffix=...}{FORMAT} {LIST}
There are no comments at this time.