The page selector associates a page to a tracker item. Like the user selector, a page selector is associated to a page.
Available: Tiki>=3.0
Page selector is a special text field which contains or is filled by a wiki pagename. It can be used as the "main" field for that item, thus the tracker item and the wiki page will have the same name.
When used with the TRACKERLIST plugin (param view=page) in a wiki page, the plugin will only display the associated tracker item on that wiki page. When used with TRACKER in a wiki page (param view=page), the plugin will modify the item associated.
Parameters
Page selector links a tracker item to a wiki page. It can choose one page in a list of pages, or if the automatic option is set to 1 it will use the current wiki page name. (which only works if the tracker item is created via TRACKER plugin in a wiki page)
Parameter | options | result | default behavior | Version
| automatic feeding | 1,0 | if=1, page selector will be to the pagename the item is input(where the TRACKER plugin is) | not auto feeding |
| size | numeric | visible input length of the field in characters, not limited if<=0 | no limit |
| create (based on) | page name | if set will create a new page (if it doesn't exist already) based on the content which already exists at "page name". The title of the new page will be the text entered by the user in this field. | no page is created |
| link | y or n | will display a link to the page | y=display the link | tw>=5.0 |
examples of parameters:
- 0,0,pagetracker tpl
- results in a new page being created based on the template "pagetracker tpl" with the title of the new page being what is entered in the form for that field.
To edit the page tracker
Copy to clipboard {TRACKER(trackerId=1, fields=1:2, view=page)}Page info set{TRACKER}
To see the information of a page
Copy to clipboard {TRACKERLIST(trackerId=1, fields=1:2, view=page, wiki=PrettyTracker1) /}
|