Loading...
 
Skip to main content

Features / Usability


Re: How to allow download of pictures from a tracker?

Hi Pak,

I have a tracker with two fields:
one field of type "textfield" name "Title" and permanent name "test_title"
one field of type "files" name "Files" and permanent name "test_files"

Using the PluginList I try to get three columns from the two fields with the following behaviour:

column 1 display the items title with a link to the item

column 2 display the image or thumbnail

column 3 display the link to the image (to download)

My problem right now: column 3 shows the image Id correctly, but it does link to the iem instead of the image.
For example the shown value is "11" and the "dl11" or "display11" but it is "item58"

My code is the following and we would need to find the correct parameters and values for the third FORMAT and display command:

Copy to clipboard
{LIST()} {pagination max=5} {filter field="tracker_id" content="6"} {OUTPUT(template="table")} {column field="title" label="Title" mode="raw"} {column field="files" label="Files" mode="raw"} {column field="download" label="Download" mode="raw"} {tablesorter server="n" sortable="type:reset" tsortcolumns="type:text|type:text" tsfilters="type:text|type:text" tspaginate="max:10"} {OUTPUT} {FORMAT(name="title")}{display name="tracker_field_test_title" format="objectlink"}{FORMAT} {FORMAT(name="files")}{display name="tracker_field_test_files" format="trackerrender"}{FORMAT} {FORMAT(name="download")}{display name="tracker_field_test_files" format="objectlink"}{FORMAT} {LIST}


You might find more here:
LIST+-+format+command
or here:
LIST+-+display+command

I have to go. I cross fingers, that you get where you want to - please report, as I would be interested in that kind of display aswell. Hopefully I find some time later this weekend, but I do not promise.

Regards,
Torsten