Loading...
 

 Important

Major updates are in progress. Some pages and languages may not be available.

Displaying Trackers in Wiki Pages

In addition to using the tracker interface, you can list tracker items directly in wiki pages.

On the Visitor Information Form page, let's add a list of the visitors who have completed the form.

  1. Edit the Visitor Information Form page that you created earlier.
  2. In the Edit area, type:
    !!List of visitors
    {TRACKERLIST(trackerId=>1,fields=>1:7, showtitle=>n, showfieldname=>y, sort_mode=>lastModif_desc, status=>opc)}Notice{TRACKERLIST}

    Using the TRACKERLIST plugin.
    This example uses the Trackerlist plugin to list the tracker items. The options used:
    • trackerId: The ID of the tracker.
    • fields: The fields from the tracker to include in the form. Here, we have included all the available fields, in order, but you could change this.
      Be sure to use the field's ID and not its order.
    • showtitle: Specifies if Tiki will display the tracker's name before the table.
    • showfieldname: Tiki will include a column heading for each field, based on the tracker item's name.
    • sortmode: By default, Tiki will sort the list by the Last Modified Date (in ascending order). You can click any column heading to resort the table.
    • stats: Tiki will include all items with the status of O (open), P (pending), and C (closed).

     Note

    See the http://doc.tiki.org/PluginTrackerlist for complete information on the Tracker list plugin and all available options.
  3. Save the page.
    The Visitor Information Page should now look similar to this:
    The Visitor Information wiki page now lists the items in the tracker.


Each time you add a new tracker item, it will be added to the List of Visitors.

Created by Rick Sapir (ricks99). Last Modification: Friday March 29, 2019 02:21:41 pm EDT by Rick Sapir (ricks99).

Advertising