Fullscreen
[Show/Hide Right Column]

Useful ?
(0)
(0)
Useful ?
0 : Yes
0 : No

Pretty Tracker HowTo

A "Pretty Tracker" is a prettier way to list (or input) your Tracker data.
To create a "Pretty Tracker" in Tiki you need:
  • One Tracker with at least one field
  • One Wiki page with PluginTrackerlist (to list the data) or define a template directly in the Tracker (or a Wiki page with PluginTracker to input the data to a Tracker using a pretty formatted form)
  • One template which tells how the data (or input fields) should be formatted (can be a Wiki page or *.tpl file)

Here's step by step guide (using the TrackerList wikiplugin and a Wiki page as a template):
  1. Create a Tracker and note the Tracker ID and then create some field(s) for it and note the Field(s) ID(s) (name the Tracker for example "Fruit" and the created field(s) can be "Fruit Name" of type text input, etc.)
  2. Insert some new Tracker Items? there after creating the Tracker, e.g. three items: Apple, Pear and Orange
  3. Create a Wiki page named "fruit_template" with at least one {$f_X}, for example:
    __{$f_1}__ ---

    (Assuming the "Fruit Name" field has ID 1)
  4. Set the permissions for that template page to tiki_p_use_as_template and remove tiki_p_edit and tiki_p_view for Anonymous so your visitors cannot edit and view the template page
  5. Create another Wiki page "Fruit List" with
    List of my Fruit: {trackerlist trackerId=1 wiki=fruit_template}

    (Assuming the "Fruit" Tracker has ID 1)
As a result you should now see the three fruits listed in bold on the page "Fruit List" one under each other and divided by horizontal line according to the template:

List of my Fruit:
Apple

Pear

Orange


That's it ! :-)

For more details see Pretty Tracker page.

Contributors to this page: luciash d' being2161 points  .
Page last modified on Friday 09 September, 2011 20:44:19 UTC by luciash d' being2161 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki